       browser      : 'Browser'
       editor       : 'Editor'
 
+    hasChanges = no
 
     changes.forEach (change, i) ->
 

          appManager.tell 'IDE', 'createPaneFromChange', it.getData().change
          @destroy()

    menuItems.separator = type: 'separator'

    appManager.tell 'IDE', 'getCollaborationData', (data) =>


      { editors, terminals, drawings, browsers }  = menuData

      return unless type is 'NewPaneCreated'

      hasChanges = yes

      switch paneType
        when 'editor'   then editors.push   { change, title : FSHelper.getFileNameFromPath file.path }
