# Keep Focus inside a PopUp

**URL:** <https://forum.inductiveautomation.com/t/keep-focus-inside-a-popup/18506>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [June 18, 2018, 1:19pm UTC](https://forum.inductiveautomation.com/t/keep-focus-inside-a-popup/18506 "2018-06-18T13:19:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![c.bertulli](https://avatars.discourse-cdn.com/v4/letter/c/f19dbf/32.png) [@c.bertulli](https://forum.inductiveautomation.com/u/c.bertulli)\
**Post date:** [June 18, 2018, 1:19pm UTC](https://forum.inductiveautomation.com/t/keep-focus-inside-a-popup/18506/1 "2018-06-18T13:19:34Z")

</div>

Hi All,

As the title explains, I would like to know if I can force the Window’s Focus to stay inside a PopUp. In order to have the user choose something inside the PopUp window without having him/her to click around in the “below” window.

Thanks in advance.

Cheers,

---

<div class="post-metadata">

**Author:** ![bfuson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bfuson/32/4597_2.png) [@bfuson](https://forum.inductiveautomation.com/u/bfuson)\
**Post date:** [June 18, 2018, 1:27pm UTC](https://forum.inductiveautomation.com/t/keep-focus-inside-a-popup/18506/2 "2018-06-18T13:27:35Z")

</div>

Sounds like you want what's called a "modal" popup.

This thread offers a few different approaches:

> [@Modal Pop-Up How-To?](http://forum.inductiveautomation.com/t/modal-pop-up-how-to/15211/12):
>
> So you want to create a popup window that users can’t click off of and stays above the parent window? Sorry, not really familiar with the term. Here’s what I came up with: The first part would be clicking on the popup window and setting the layer above the layer of the parent window. That should keep it on top of the parent until the user closes the window. It won’t filter clicks though, we’ll get to that. Then turn off close-able so the X doesn’t display at the top. Turn off resizeable, …

---

<div class="post-metadata">

**Author:** ![c.bertulli](https://avatars.discourse-cdn.com/v4/letter/c/f19dbf/32.png) [@c.bertulli](https://forum.inductiveautomation.com/u/c.bertulli)\
**Post date:** [June 19, 2018, 9:45am UTC](https://forum.inductiveautomation.com/t/keep-focus-inside-a-popup/18506/3 "2018-06-19T09:45:53Z")

</div>

Thanks!!!  
👍 👍 👍 👍
