     else
       return new KDNotificationView
         title : "You are not authorized to create VMs in #{group} group"
+
+    modal = this
 
     form = new KDFormViewWithFields
       callback              : (formData) =>

  preparePaymentMethods: (formData) ->
    @setState 'billing choice'

    paymentField = @choiceForm.fields['Payment method']

    paymentController = KD.getSingleton 'paymentController'

    paymentController.fetchPaymentMethods (err, paymentMethods) =>
      return if KD.showError err

    @confirmForm = @createConfirmForm()
    @addSubView @confirmForm

    @confirmForm.on 'PaymentConfirmed', @bound 'processPayment'

    @setState 'vm type'
