# Disable/Lock all Main Window click events while pop-up is open

**URL:** <https://forum.inductiveautomation.com/t/disable-lock-all-main-window-click-events-while-pop-up-is-open/28985>\
**Category:** Ignition\
**Created:** [October 10, 2019, 12:04pm UTC](https://forum.inductiveautomation.com/t/disable-lock-all-main-window-click-events-while-pop-up-is-open/28985 "2019-10-10T12:04:36Z")\
**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 10, 2019, 12:25pm UTC](https://forum.inductiveautomation.com/t/disable-lock-all-main-window-click-events-while-pop-up-is-open/28985/2 "2019-10-10T12:25:20Z")

</div>

Take a look at this thread, especially Kyle's contributions:

> [@Modal Pop-Up How-To?](http://forum.inductiveautomation.com/t/modal-pop-up-how-to/15211/9):
>
> All containers allow mouse clicks through by default. Easiest way to disable that is on the container, In the Mouse Clicked Event put “pass” in it.

---

_[View the full topic](https://forum.inductiveautomation.com/t/disable-lock-all-main-window-click-events-while-pop-up-is-open/28985)._
