convert main catalogues GUI to QDialog