                 loader            :
                   color           : "#ffffff"
                   diameter        : 16
+                callback          :=>
+                  modal.destroy()
             fields:
               "Drop Image here"              :
                 label             : "Avatar"

                ]
    , group

    modal.modalTabs.forms["Avatar"].inputs["Drop Image here"].on 'FileReadComplete', (stuff)->
      # modal.$('img.avatar-image').attr 'src' : stuff.file.data
      modal.$('div.image-wrapper').css backgroundImage : "url(#{stuff.file.data})"

  editPermissions:(group)->
    group.getData().fetchPermissions (err, permissionSet)->
      if err
        new KDNotificationView title: err.message
      else

                        width   : 60
                        height  : 60
                      }
                      # 'blur', {
                      #   radius : 0
                      # }
                    ]
                }
          "General Settings":
