Closing behavior Pro
How visitors close a popup, and the Pro options that close it automatically after a form submission, a delay, a video or a custom event.
How a popup closes by default#
Every popup, in the free plugin too, can be closed in three ways:
- the close button in its corner;
- a click outside the popup, on the dimmed page;
- the Escape key.
Two free settings change this:
| Setting | Where | Effect |
|---|---|---|
| Force Interaction | Popup Settings tab | Clicks outside the popup and the Escape key are ignored. The close button still works. |
| Hide Close Button | Popup Styles → Close Button | Removes the close button. Together with Force Interaction, the popup can only be left through its own buttons. |
See Age verification for a gate that uses both.
Closing automatically#
Wing Popup Pro adds four automatic ways to close, under Closing Behavior on the Display Options tab.

Close After Form Submit#
Closes the popup once a form inside it has been submitted successfully.
| Field | What it does |
|---|---|
| Close After Form Submit | Switches the behavior on. |
| Delay Before Closing | Seconds to wait, so the visitor can read the success message. 2 by default. |
Auto-Close After Delay#
Closes the popup by itself after a time, whether or not the visitor reacted.
| Field | What it does |
|---|---|
| Auto-Close After Delay | Switches the behavior on. |
| Auto-Close Delay | Seconds the popup stays open. 15 by default. |
Use it for notices that should not need a click: Free shipping this weekend, a saved-cart reminder, a small thank-you.
Close After Video Completes#
Closes the popup when a video inside it has played to the end. It works with HTML5 <video> elements, that is, self-hosted MP4 files.
Close After Custom Action#
Closes the popup when your own code says so.
| Field | What it does |
|---|---|
| Close After Custom Action | Switches the behavior on. |
| Custom JS Event Name | The event to listen for, for example my_registration_complete. |
document.dispatchEvent(new CustomEvent('my_registration_complete'));
Closing and frequency#
How a popup closed matters for how soon it returns. Under Frequency and suppression, Don't show again after dismissal for applies when the visitor closed the popup themselves; Don't show again for applies from the moment it was shown.
Did this not answer your question?
Send us what you are trying to do and we will help, and improve this page.