               required      : yes
             messages        :
               required      : "Please select a VM type!"
-          # change            : =>
-            # form = modal.modalTabs.forms["Create VM"]
-            # {desc, selector} = form.inputs
-            # descField        = form.fields.desc
-            # descField.show()
-            # desc.show()
-            # index      = (parseInt selector.getValue(), 10) or 0
-            # monthlyFee = (@paymentPlans[index].feeMonthly/100).toFixed(2)
-            # desc.$('section').addClass 'hidden'
-            # desc.$('section').eq(index).removeClass 'hidden'
-            # modal.setPositions()
+          change            : ->
+            modal.currentPlan = plans[@getValue()]
         desc                :
           itemClass         : KDCustomHTMLView
           cssClass          : "description-field hidden"

    @confirmForm = @createConfirmForm()
    @addSubView @confirmForm

    @setState 'vm type'

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

    paymentController = KD.getSingleton 'paymentController'

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

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