osx: dialogs show in fullscreen when the window is already in fullscreen
See the attached test case: fullscreen-test.zip
- Launch it and then click on the fullscreen button.
- Then click on the dialog button.
The expected result is to have the dialog over the window, instead you see that the dialog becomes fullscreen as well.