Skip to main content
Version: 1.28 (Current)

Close Tabs Popup And Continue Execution

Audience: Low-code Engineers

Skill Prerequisites: Actions

Closes the popup of a Tabs module, then carries on with the next actions. It's available in forms and listings when the Tabs module is installed. It isn't available in API endpoints.

The popup is one opened with Open Tabs Popup And Stop Execution or Open Tabs Popup And Continue Execution. The action can run from a form inside the popup or from anywhere else on the page.

ActionWhat happens after the popup closes
Close Tabs Popup And Stop ExecutionNo further actions run.
Close Tabs Popup And Continue ExecutionThe popup closes right away and the next actions keep running.

Typical Use Cases​

  • Close a wizard popup and then save the data, send an email or show a message
  • Close the popup and refresh a listing on the page with the new record
  • Close the popup and open another one

Don't use it to​

Action NameDescription
Close Tabs Popup And Stop ExecutionCloses the same popup and ends execution.
Open Tabs Popup And Continue ExecutionOpens a Tabs module in a popup and keeps running actions.
Close Form Popup And Continue ExecutionCloses the popup of a single form and keeps running actions.
Display Toast Message And Continue ExecutionShows a short notification, for example after the popup closes.

Input Parameter Reference​

ParameterDescriptionSupports TokensDefaultRequired
Select ModuleThe Tabs module whose popup to close. Pick it from the list, or click EXPR and enter an expression that returns the module's ID, for example [TabsModuleId].Yesempty stringYes

What happens when it runs​

The server sends the instruction to the browser right away, and the browser hides the popup. Meanwhile, the server keeps running the remaining actions.

Closing only hides the popup. The page isn't refreshed, and the forms in the popup aren't reset. The next time the popup opens, the forms in its active tab are initialized again.

In Listings​

On a listing button with Client Button turned on, use the client-side Close Tabs Popup action instead. It has the same parameter and closes the popup in the browser without a request to the server. See Item Buttons and Root Buttons.

Considerations​

  • No error if it's already closed. If the popup isn't open, or the Tabs module isn't set to open as a modal, nothing happens.
  • Nothing else is refreshed. Listings or forms outside the popup keep what they showed. Add the actions you need after this one to update them.
  • Later actions still run on the server. If one of them fails, the popup is already closed. Put the close after the actions that can fail if the user should stay in the popup to fix the problem.
  • Not in every form event. This action isn't offered in the form's On Page Load, On Preinit and On Init events. Use Close Tabs Popup And Stop Execution there. See Form Events.

Examples​

tip

To understand how to use the below examples, please see Running Examples.

1. Close the wizard and confirm​

The first action closes the Tabs popup whose ID is in the WizardModuleId token. The second action shows a toast on the page.

[
{
"Title": "Close Tabs Popup And Continue Execution",
"ActionType": "CloseTPPopupAndContinue",
"Description": "Close the order wizard",
"Parameters": {
"ModuleId": {
"Expression": "[WizardModuleId]",
"Value": "",
"IsExpression": true,
"Parameters": {}
}
}
},
{
"Title": "Display Toast Message And Stop Execution",
"ActionType": "ShowToast",
"Description": "Confirm the order",
"Parameters": {
"Heading": "Order saved",
"Message": "<p>Order [OrderId] was saved.</p>",
"HideTime": "4000"
}
}
]

Revised 09/27/2026