qt is always rendered on top of blender,
so when you try to close blender, sometimes the save scene dialogue is hidden behind a qt widget.
this leads to confusion, since blender is now frozen, but the qt widgets are not.
to fix this, we reimplement the dialogue in qt, and render it on top of everything.
we freeze input to force user to deal with the popup.
qt is always rendered on top of blender, so when you try to close blender, sometimes the save scene dialogue is hidden behind a qt widget. this leads to confusion, since blender is now frozen, but the qt widgets are not.
to fix this, we reimplement the dialogue in qt, and render it on top of everything. we freeze input to force user to deal with the popup.
original blender style, but hidden behind qt![image](https://user-images.githubusercontent.com/3758308/209826736-d7a12152-6696-4dbc-8be3-3eaddc56710f.png)
new qt dialogue , always in front![image](https://user-images.githubusercontent.com/3758308/209826571-aa8610ef-cb0a-4c36-8b15-da5a55895f74.png)