         @notify "Database created!", "succes"
         @emit "DatabaseAdded", response
         modal.destroy()
-  
+
   talkToKite:(options, callback)->
 
     # log "Run on kite:", options.toDo

      #   defaultValue: data.title if data
      #   nextElement :
      #     Color :
      #       itemClass : KDSelectBox           
      #       type        : "select"
      #       name        : "color"
      #       label       : "Color"

                @emit "DeleteDatabaseSubmitted", listItem

        fields  : fields

    modal = @modal = new KDModalViewWithForms formSchema

  # addDatabase:(f)=>



    # jr = new bongo.api[f.type]
    #   title : f.title   ? "My Dev DB #{(Date.now()+"").substr(-2)}"
    #   host  : f.host    ? "localhost"
