# System.gui.confirm() - Auto close

**URL:** <https://forum.inductiveautomation.com/t/system-gui-confirm-auto-close/51725>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [October 7, 2021, 11:36pm UTC](https://forum.inductiveautomation.com/t/system-gui-confirm-auto-close/51725 "2021-10-07T23:36:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [October 8, 2021, 12:22am UTC](https://forum.inductiveautomation.com/t/system-gui-confirm-auto-close/51725/2 "2021-10-08T00:22:32Z")

</div>

You can’t use scripting because those popups stop the GUI thread. So almost all other scripts won’t run, either.

Just don’t use `system.gui.confirm()`. At all. (Nor any of the `system.gui.*Box` functions.) Make a real popup window for such user interaction. Use window z-order to keep them on top if necessary. Regular popup windows allow scripts to keep running, and can’t get behind the application window.

---

_[View the full topic](https://forum.inductiveautomation.com/t/system-gui-confirm-auto-close/51725)._
