# Any way to check if popup is open?

**URL:** <https://forum.inductiveautomation.com/t/any-way-to-check-if-popup-is-open/91574>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [June 7, 2024, 11:02pm UTC](https://forum.inductiveautomation.com/t/any-way-to-check-if-popup-is-open/91574 "2024-06-07T23:02:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eugene49](https://avatars.discourse-cdn.com/v4/letter/e/c6cbf5/32.png) [@Eugene49](https://forum.inductiveautomation.com/u/Eugene49)\
**Post date:** [June 7, 2024, 11:02pm UTC](https://forum.inductiveautomation.com/t/any-way-to-check-if-popup-is-open/91574/1 "2024-06-07T23:02:11Z")

</div>

I have multiple button that open its own popup.  
If I click same button twice. 2 same popup will open.  
Is there a way to check that popup already open.

Other than writing to a custom parameter that popup was triggered?  
(I've already been doing this on the first button, looking if there is another way)

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [June 7, 2024, 11:07pm UTC](https://forum.inductiveautomation.com/t/any-way-to-check-if-popup-is-open/91574/2 "2024-06-07T23:07:30Z")

</div>

Perspective or Vision? Select the appropriate tag from the dropdown below your question title. Thanks!

---

<div class="post-metadata">

**Author:** ![Eugene49](https://avatars.discourse-cdn.com/v4/letter/e/c6cbf5/32.png) [@Eugene49](https://forum.inductiveautomation.com/u/Eugene49)\
**Post date:** [June 7, 2024, 11:11pm UTC](https://forum.inductiveautomation.com/t/any-way-to-check-if-popup-is-open/91574/3 "2024-06-07T23:11:30Z")

</div>

That is for Perspective.. Thanks.  
I already used isPopupOpen parameter.

I just can't imagine creating this multiple times.. thought maybe there is another way.

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [June 7, 2024, 11:14pm UTC](https://forum.inductiveautomation.com/t/any-way-to-check-if-popup-is-open/91574/4 "2024-06-07T23:14:30Z")

</div>

When you open a popup if you specify a unique Id then only one popup with that Id will open.

---

<div class="post-metadata">

**Author:** ![Eugene49](https://avatars.discourse-cdn.com/v4/letter/e/c6cbf5/32.png) [@Eugene49](https://forum.inductiveautomation.com/u/Eugene49)\
**Post date:** [June 8, 2024, 12:08am UTC](https://forum.inductiveautomation.com/t/any-way-to-check-if-popup-is-open/91574/5 "2024-06-08T00:08:24Z")

</div>

You mean, if I run two "openPopup" command with the same ID. The 2nd command will not open another popup?

edit:

> [@jlandwerlen](#):
>
> When you open a popup if you specify a unique Id then only one popup with that Id will open.

Ohh.. That worked! Thanks.
