                 Save        :
                   style     : "modal-clean-gray"
                   callback  : ()=>
-                    saveDialog.hide()
+                    addRoleDialog.hide()
                 Cancel :
                   style     : "modal-cancel"
                   callback  : ()->
-                    saveDialog.hide()
-            saveDialog.addSubView wrapper = new KDView
+                    addRoleDialog.hide()
+            addRoleDialog.addSubView wrapper = new KDView
               cssClass : "kddialog-wrapper"
 
             wrapper.addSubView title = new KDCustomHTMLView

            form.addSubView @inputCopyPermissions = inputCopyPermissions = new KDSelectBox
              selectOptions : selectOptions
              defaultValue : null
            saveDialog.show()

        Save          :
          style       : "modal-clean-gray"

          style       : "modal-clean-gray"
          cssClass    : 'add-role'
          callback    : =>
            @addSubView addRoleDialog = new KDDialogView
              cssClass      : "add-role-dialog"
              duration      : 200
              topOffset     : -21
