refactored dataprovider, added selectcatalogdialog ))