There are a few properties of the Window that are useful to popups, such as Layer and Location.
The Layer property of windows controls the z-order of the windows. Windows with a higher Layer will always be on top of windows with a lower Layer, regardless of which window is in focus. This is useful for keeping popup windows at the forefront. By default, all windows have a Layer of 0, but we can change this so that popups always remain on top. If popups have a layer that is the same as the main window, clicking on your main window makes it look like the popup window disappears, but it’s actually behind your main window. The Windows Menu will show you all the open windows in your Client, with the popup still being open.

The Layer property is located on the window object itself, in the Property Editor. Simply set it to a higher value so that the popup is always on top.

Popup windows can also be given a specific location to open up at, when the not being automatically centered by the script. In the Vision Property Editor, go to Layout > Location and provide a specific X and Y position (in pixels).

Note: When opening a popup window to a specific location, ensure the Open and Center option is unchecked so that it doesn't override the location coordinates.
