You can’t guarantee the modal window z-order in the host – and I’ve seen some plugins where they’re created behind other windows inside the host which has basically locked the user out and forces the user to “force quit” the host and possibly lose their session data.
It’s best to create a new component which is the size of your UI and create your “dialog” on that component.
Rail
