         @emit "DataLoaded"
         return warn "Failed to fetch VMs", err  if err
       addedCount = 0
+
       vms.forEach (vm)=>
         @addItem
           title     : vm

          memUsage  : KD.utils.getRandomNumber 100
          activated : yes
        addedCount++
        @emit "DataLoaded"  if addedCount is vms.length
    options.title      = 'Virtual Machines'

    super options, data

    # Plus button on machinesContainer uses the vmController
    @on 'PlusButtonClicked', =>
      return unless KD.isLoggedIn()
        new KDNotificationView
          title: "You need to login to create a new machine."

      @addVmModal = new KDModalView
        title        : 'Add Virtual Machine'
        cssClass     : 'add-vm-modal'
        view         : @getVmSelectionView()
        width        : 786
        buttons      :
          create     :
            title    : "Create"
            style    : "modal-clean-green"
            callback : =>
              @addVmModal.destroy()
              KD.singleton("vmController").createNewVM (err) ->
                KD.showError err

  loadItems:->
    super
