     @on "KDObjectWillBeDestroyed", ->
       KD.getSingleton("mainView").disableFullscreen()
 
-    @bindAppMenuEvents()
 
   createSessionData: (openPanes, data = {}) ->
     paths     = []


  pistachio: ->
    """
      {{> @tabHandleContainer}}
      {{> @tabView}}
    """

    file = view.getData()
    delete @aceViews[file.path]

  attachAppMenuEvents: ->
    @on "saveMenuItemClicked", => @getActiveAceView().ace.requestSave()

    @on "saveAsMenuItemClicked", => @getActiveAceView().ace.requestSaveAs()
