# Security Confirmation popup problem

**URL:** <https://forum.inductiveautomation.com/t/security-confirmation-popup-problem/24113>\
**Category:** Ignition\
**Created:** [April 12, 2019, 11:53pm UTC](https://forum.inductiveautomation.com/t/security-confirmation-popup-problem/24113 "2019-04-12T23:53:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![leeroy](https://avatars.discourse-cdn.com/v4/letter/l/eb9ed0/32.png) [@leeroy](https://forum.inductiveautomation.com/u/leeroy)\
**Post date:** [April 12, 2019, 11:53pm UTC](https://forum.inductiveautomation.com/t/security-confirmation-popup-problem/24113/1 "2019-04-12T23:53:51Z")

</div>

Hi, I’m pretty new with the software here is my question .I’m trying to use a momentary button as a write button to the PLC with the confirmation security popup. But when i click the ‘write’ button the value changes to one and the popup appear so it’s not useful. How can i make a script that when I press the button the popup shows i confirm ,then the value change to one then the value goes back to 0 .  
Thanks

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 13, 2019, 12:22am UTC](https://forum.inductiveautomation.com/t/security-confirmation-popup-problem/24113/2 "2019-04-13T00:22:27Z")

</div>

No, you cannot make a popup work in this case. Use a toggle button in addition to your momentary button, with the toggle controlling the enabled property of the momentary button. That will give you two-step functionality without needing a popup. Use a release script on your momentary button to reset the toggle if you wish the user to confirm every time.

---

<div class="post-metadata">

**Author:** ![leeroy](https://avatars.discourse-cdn.com/v4/letter/l/eb9ed0/32.png) [@leeroy](https://forum.inductiveautomation.com/u/leeroy)\
**Post date:** [April 14, 2019, 3:58pm UTC](https://forum.inductiveautomation.com/t/security-confirmation-popup-problem/24113/3 "2019-04-14T15:58:06Z")

</div>

Thank you that worked!
