         return KD.showError err  if err
         vmc = KD.getSingleton("vmController")
         vmc.emit 'VMListChanged'
+
+  getDomainCreateForm: ->
+    domainCreateForm = new DomainCreateForm
+    @domainsContainer.on "itemRemoved", domainCreateForm.bound "updateDomains"
+    domainCreateForm.on "DomainSaved", @domainsContainer.bound "loadItems"
+    return domainCreateForm
 
     addVmSelection = new KDCustomHTMLView
       cssClass   : "new-vm-selection"


      new KDModalView
        title          : "Add Domain"
        view           : @domainCreateForm
        width          : 700
        overlay        : yes
        buttons        :


    @refreshContainers()

    KD.getSingleton("vmController").on 'VMListChanged', @bound 'refreshContainers'

    # Plus button on @domainsContainer opens up the domainCreateModal
    @domainsContainer.on 'PlusButtonClicked', =>
