# Close Specific Popup Instance

**URL:** <https://community.weweb.io/t/close-specific-popup-instance/18568>\
**Category:** Ask us anything\
**Tags:** popup\
**Created:** [June 2, 2025, 9:18pm UTC](https://community.weweb.io/t/close-specific-popup-instance/18568 "2025-06-02T21:18:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![EvilHIdden](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/evilhidden/32/7014_2.png) [@EvilHIdden](https://community.weweb.io/u/EvilHIdden)\
**Post date:** [June 2, 2025, 9:18pm UTC](https://community.weweb.io/t/close-specific-popup-instance/18568/1 "2025-06-02T21:18:56Z")

</div>

Is there a way to programmatically close a particular instance of a popup?

My old use case for popups/alerts was to set a global variable with a Sticky and Hover state of true/false. And my display workflow would not close the alert if it was hovering or a sticky.

But since popup variables are scoped I cant access within the popup, nor do I see a way how to close the specific instance via workflow–only close all instances

---

<div class="post-metadata">

**Author:** ![antoine\_caron](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@antoine\_caron](https://community.weweb.io/u/antoine_caron)\
**Post date:** [June 3, 2025, 10:01am UTC](https://community.weweb.io/t/close-specific-popup-instance/18568/2 "2025-06-03T10:01:58Z")

</div>

Not 100% sure to understand, but in the new Popups, there is 2 workflows available one that closes the actual popup, and the one called “close all Popups” which actually is not closing all popups but a workflow where you select the specific popup that you want to close. Hope this helps.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/8/88d9c238725f90528e7787eae623899bc68240af.png)

---

<div class="post-metadata">

**Author:** ![Agustin\_Carozo](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/agustin_carozo/32/13231_2.png) [@Agustin\_Carozo](https://community.weweb.io/u/Agustin_Carozo)\
**Post date:** [June 3, 2025, 2:11pm UTC](https://community.weweb.io/t/close-specific-popup-instance/18568/3 "2025-06-03T14:11:59Z")

</div>

Hi Daniel, welcome back 👋

Have you tried what Antoine said?

You can call that workflow action from anywhere and choose what popup to close.

---

<div class="post-metadata">

**Author:** ![EvilHIdden](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/evilhidden/32/7014_2.png) [@EvilHIdden](https://community.weweb.io/u/EvilHIdden)\
**Post date:** [June 3, 2025, 2:33pm UTC](https://community.weweb.io/t/close-specific-popup-instance/18568/4 "2025-06-03T14:33:25Z")

</div>

I don’t have that option. I remember seeing it, which is what was making me question my sanity. But take a look. I only have “all”.

 ![Screenshot 2025-06-03 at 10.32.14 AM](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/2/24f6d20526026706f06ed45f250255a5666e32a9.png)

---

<div class="post-metadata">

**Author:** ![Agustin\_Carozo](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/agustin_carozo/32/13231_2.png) [@Agustin\_Carozo](https://community.weweb.io/u/Agustin_Carozo)\
**Post date:** [June 3, 2025, 2:40pm UTC](https://community.weweb.io/t/close-specific-popup-instance/18568/5 "2025-06-03T14:40:57Z")

</div>

It’s a naming mistake that I already passed to the team.  
This action is actually : “Close X popup”

Try it and you’ll see

---

<div class="post-metadata">

**Author:** ![EvilHIdden](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/evilhidden/32/7014_2.png) [@EvilHIdden](https://community.weweb.io/u/EvilHIdden)\
**Post date:** [June 3, 2025, 3:40pm UTC](https://community.weweb.io/t/close-specific-popup-instance/18568/6 "2025-06-03T15:40:56Z")

</div>

Unfortunately, I do not see the option to close a specific instance when selected the Close all - just simple the option to close all of a certain type. Is there something I’m not seeing? I could’ve sworn I saw the instance one previously.

 ![Screenshot 2025-06-03 at 11.39.29 AM](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/b/be5df2fb98e40ef7dbd86dc691619fd993e840fc.png)

---

<div class="post-metadata">

**Author:** ![Msanders4](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/msanders4/32/13284_2.png) [@Msanders4](https://community.weweb.io/u/Msanders4)\
**Post date:** [June 15, 2025, 8:34pm UTC](https://community.weweb.io/t/close-specific-popup-instance/18568/7 "2025-06-15T20:34:41Z")

</div>

Inside the “Popup model” dropdown, that’s where you actually have your dropdown chosen, which is “Toasts/Simple”. If you have multiple dropdowns in your app, you’ll see that that dropdown will allow you to choose one of your popups to close. I was confused by this workflow action originally because I thought that it was going to close all popups until I saw that the dropdown under “Popup model” only have a check mark next to one of my popups

---

<div class="post-metadata">

**Author:** ![frederic.lacroix](https://avatars.discourse-cdn.com/v4/letter/f/71c47a/32.png) [@frederic.lacroix](https://community.weweb.io/u/frederic.lacroix)\
**Post date:** [December 11, 2025, 7:50pm UTC](https://community.weweb.io/t/close-specific-popup-instance/18568/8 "2025-12-11T19:50:32Z")

</div>

I Daniel, have you found a solution?
