We have been trying to achieve the following behavior:
1. From window, open a popup/modal dialog ().
2. From within the popup/modal dialog, open another popup/modal dialog ().
It works fine but when the second popup is opened and you click the first popup, the second active popup goes behind its parent.
We cannot use ShowDialog() since we want these popups in individual tabs. Meaning, I can open one tab and inside it. I can also open tab and a popup inside it. ShowDialog() blocks the whole application and user cannot switch between tabs.
Refer to attached images for details of the issue faced
s is causing usability issues since the user will never know how to bring the active popup back if they mistakenly click outside it on the first popup.