added class to enable users create database from the dialog