       tagName  : 'h3'
       cssClass : 'sidebar-title'
       partial  : title
-      click    : => new MoreVMsModal {}, @getMachines()
+      click    : @bound 'headerClickHandler'
 
     if hasPlusIcon
       @header.addSubView new CustomLinkView

kd = require 'kd'
KDCustomHTMLView = kd.CustomHTMLView
CustomLinkView = require 'app/customlinkview'
SidebarMachineBox = require 'app/activity/sidebar/sidebarmachinebox'
MoreVMsModal = require 'app/activity/sidebar/morevmsmodal'


module.exports = class SidebarMachineList extends KDCustomHTMLView

        title    : ' '

    @addSubView @header


  headerClickHandler: ->
    new MoreVMsModal {}, @getMachines()


  addMachineBoxes: (boxes) ->
