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

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

            wrapper.addSubView title = new KDCustomHTMLView

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

        Save          :
          style       : "modal-clean-gray"
