Adapt dialog to being a proper window
https://codereview.qt-project.org/c/qt/qtdeclarative/+/537752 makes QQC2.Dialog a proper window, which means it gets window decoration.
This breaks some assumptions in our dialog design, e.g. using a rounded shadow as background like we do currently will look wrong