Fix file-open/save dialogs with qt5