     @cancelButton = new KDButtonView
       title    : "Cancel"
       cssClass : "modal-clean-gray"
-      callback : => item.getDelegate().emit "hideAllWidgets"
+      callback : => item.getDelegate().emit "HideAllWidgets"
 
     KD.utils.wait => @setClass 'ready'
 

    @loadItems()

    list.on "DeleteDatabaseSubmitted", (listItem)=> @deleteDatabase listItem
    list.on "UpdateDatabaseSubmitted", (listItem, formdata)=> @updateDatabase listItem, formdata

    @on "DatabaseDeleted", (listItem)=>
      list.removeItem listItem
      @emit "ListUpdated"
    # @on "DatabaseUpdated", (listItem)=>

  loadItems:(callback)->
    @removeAllItems()

      """

    super

    KD.utils.wait => @setClass 'ready'
