       unless vmName
         return @setMessage "It seems you don't have a VM to use with Terminal."
 
-      @setTerminalTimeout vmName, 15000
+      @setTerminalTimeout vmName, 15000, => @restoreTabs vmName
 
   showApprovalModal: (remote, command)->
     modal = new KDModalView

        KD.mixpanel "Open Webterm, fail", {vmName}

      if info?.state is 'RUNNING'
        @restoreTabs vmName
      else
        vmController.start vmName, (err, state)=>
          warn "Failed to turn on vm:", err  if err


    terminalView.on 'WebTermConnected', @bound 'updateSessions'

    @setTerminalTimeout options.vmName, 15000, ->
      terminalView.connectToTerminal()

    @appendTerminalTab terminalView

