Dialog Problem

I opened a file that had multiple windows open before on a secondary screen.
The file was opened from a server so a dialog window opened, saying something about permanent saving and so on. The dialog gets displayed on the main window. BUT the secondary window was in front of it and I had a hard time finding out that even a dialog was opened. It would help, if secondary windows would be opened BEHIND the main window in order to make it possible, to directly see any dialogs that may occur upon launch.