Added window flags to QDialog inherited classes so max and min buttons will appear in Gnome 3.