       @keysRef.push
         type      : "preview"
         sessionKey: preview.sessionKey
+        indexKey  : indexKey
 
     @workspace.addToHistory "$0 opened a new browser"
 

    @dashboard.once "KDObjectWillBeDestroyed", =>
      @dashboard = null

    @keysRef.push type: "dashboard"  if @amIHost

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

  createDashboard: ->
    return @tabView.showPane @dashboard  if @dashboard

    @dashboard = new KDTabPaneView
      title    : "Dashboard"
      indexKey : "dashboard"

    dashboard  = new TeamworkDashboard
      delegate : @workspace.getDelegate()

