# Intercept popup/window close

**URL:** <https://forum.inductiveautomation.com/t/intercept-popup-window-close/55941>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [February 9, 2022, 7:50pm UTC](https://forum.inductiveautomation.com/t/intercept-popup-window-close/55941 "2022-02-09T19:50:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmcmahon](https://avatars.discourse-cdn.com/v4/letter/m/4491bb/32.png) [@mmcmahon](https://forum.inductiveautomation.com/u/mmcmahon)\
**Post date:** [February 9, 2022, 7:50pm UTC](https://forum.inductiveautomation.com/t/intercept-popup-window-close/55941/1 "2022-02-09T19:50:17Z")

</div>

Is there a way to intercept/block a popup close that is triggered when a user presses the “X” on the top right corner of the popup? What I’m trying to do is give the user an indication that there are unsaved changes before fully closing the popup.  
This would be in a Vision 8.1 project.  
Thanks,  
Mike

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [February 9, 2022, 7:53pm UTC](https://forum.inductiveautomation.com/t/intercept-popup-window-close/55941/2 "2022-02-09T19:53:47Z")

</div>

Welcome to the forums @mmcmahon !

I haven’t tried this, but can you alter the popup parent window’s `closable` property to make the “X” not visible at all until changes are saved?
