     KD.getSingleton('appManager').tell 'IDE', 'openVMWebPage', @getData()
 
   createContextMenu: (event) ->
-    button = @actionsButton
-    menu   = new KDContextMenu
+    button         = @actionsButton
+    @contextMenu   = new KDContextMenu
       cssClass     : 'environments'
       event        : event
       delegate     : this

    data        = @getData()
    appManager  = KD.getSingleton 'appManager'
    menuItems   =
      'Open VM terminal'  : callback: => appManager.tell 'IDE', 'openVMTerminal', data
      'Open VM domain'    : callback: @bound 'openVMDomain'
      'Mount to filetree' : callback: => appManager.tell 'IDE', 'mountVM', data

    # FIXME: Find a better way to remove this drill down
    ideAppController   = appManager.getFrontApp()

          title : "Couldn't fetch your VMs"
          type  : 'mini'

      vms.sort (first, second) ->
        return first.hostnameAlias > second.hostnameAlias

      for vm in vms
        @addSubView new VMPaneListItem {}, vm
