Add a new Dialog and implements a treewidget where the user can add dbs.