                 ]
     , group
 
+    modal.modalTabs.forms["Avatar"].buttons["Use this image"].enable()
     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)->
+    log 'calling fetchPermissions'
     group.getData().fetchPermissions (err, permissionSet)->
+      log arguments
       if err
         new KDNotificationView title: err.message
       else

                loader            :
                  color           : "#ffffff"
                  diameter        : 16
            fields:
              "Drop Image here"              :
                label             : "Avatar"

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