     @addSubView @terminalIcon = new KDCustomHTMLView
       tagName  : "span"
       cssClass : "terminal"
-      click    : @bound "openTerminal"
+      click    : @lazyBound "openTerminal", {}
 
     if status.state in [ NotInitialized, Terminated ]
       @addSubView @initView = new InitializeMachineView

    colorSelection = new ColorSelection selectedColor : @getOption 'colorTag'
    colorSelection.on "ColorChanged", @bound 'setColorTag'

    this_ = this

    items =

      'Build Machine'     :

          computeController.build machine
          @destroy()

      'Update build script':
        callback          : @bound "showBuildScriptEditorModal"

        separator         : yes

      'Launch Terminal'   :
        disabled          : !isRunning
        callback          : @lazyBound "openTerminal", {}
        separator         : yes

      'Delete'            :
        disabled          : KD.isGuest()
        action            : 'delete'
        separator         : yes

      customView2         : colorSelection

    return items


  openTerminal:(options = {})->

    options.machine = @getData()
    new TerminalModal options


  confirmDestroy:->

