 
     @dbController.on "DatabaseAdded", (data)=>
 
+      @databaseAdded(data)
+
       dbCreateForm.inputs.dbType.makeDisabled()
       dbCreateForm.inputs.dbKind.makeDisabled()
       @newDBCreatedWidget?.destroy?()

        KD.utils.wait 300, => @setPositions()

      @dbController.loadItems()

class AccountDatabaseListController extends KDListViewController


class ManageDatabasesModal extends KDModalViewWithForms

  constructor:(options = {}, data)->

    ## LOG: Duplicate entries in database.
    @databases = {}
    ##

    options =
      title                   : "Manage Databases"
