         hideHandleContainer          : yes
         callback                     : (formData)=>
           _createGroupHandler.call @, formData, (err) =>
-            modal.modalTabs.forms["General Settings"].buttons.Save.hideLoader()
+            modal.modalTabs.forms["VM Settings"].buttons.Save.hideLoader()
             unless err
               modal.destroy()
         forms                        :

          "General Settings"         :
            title                    : 'Create a group'
            buttons                  :
              "Save"                 :
                style                : "modal-clean-gray"
                type                 : "submit"
                loader               :

                  { title : "Visible in group listings",    value : "visible" }
                  { title : "Hidden in group listings",     value : "hidden" }
                ]
          "VM Settings"              :
            title                    : 'VM Settings'
            buttons                  :
              "Save"                 :
                style                : "modal-clean-gray"
                type                 : "submit"
                loader               :
                  color              : "#444444"
                  diameter           : 12
              "Back"                 :
                style                : "modal-cancel"
                callback             : -> modal.modalTabs.showPreviousPane()
            fields                   :
              # Group VM should be there for every group
              "Group VM"             :
                label                : "Create a shared server for the group"
                itemClass            : KDOnOffSwitch
                name                 : "group-vm"
                defaultValue         : yes
              
              # # Members VMs are a future feature
              
              # "Member VM"            :
              #   label                : "Create server(s) for each group member"
              #   itemClass            : KDOnOffSwitch
              #   name                 : "member-vm"
              #   defaultValue         : yes
              #   callback             : ->
              #     form = modal.modalTabs.forms["VM Settings"]
              #     if form.inputs["Member VM"].getValue() is no
              #       form.fields["Number of VMs"].hide()
              #     else
              #       form.fields["Number of VMs"].show()
              # "Number of VMs"        :
              #   label                : "Number of VMs"
              #   itemClass            : KDInputView
              #   name                 : "member-vm-limit"
              #   defaultValue         : 1

    modal = new KDModalViewWithForms modalOptions
    form = modal.modalTabs.forms["General Settings"]
    form.on "FormValidationFailed", ->
      form.buttons.Next.hideLoader()

  handleError =(err, buttons)->
    unless buttons
