         type     : "dashboard"
         indexKey : "dashboard"
 
+    @registerPaneRemoveListener_ @dashboard
 
   createDrawingBoard: (sessionKey, indexKey) ->
     indexKey  = indexKey or @createSessionKey()

        indexKey  : indexKey

    @workspace.addToHistory "$0 opened a new editor"  if isLocal

  openFile: (file, content) ->
    @createEditor file, content

        indexKey  : indexKey

    @workspace.addToHistory "$0 opened a new browser"
    @registerPaneRemoveListener_ pane

  createChat: ->
    pane = new KDTabPaneView title: "Chat"
