         return
 
       @provider.updateRealFile(changes)
-      @emitModifiedStatusChanged(false)
+      @setModifiedState(false)
 
   # Just setting cursor position works but it lost goalColumn when that row was skip item's row.
   moveUpOrDown: (event, direction) ->

  items: []
  itemsByProvider: null # Used to cache result
  lastNarrowQuery: ''
  modifiedState: false

  isModified: ->
    @modifiedState

  onDidMoveToPrompt: (fn) -> @emitter.on('did-move-to-prompt', fn)
  emitDidMoveToPrompt: -> @emitter.emit('did-move-to-prompt')


      if @isActive()
        @selectItemForRow(@findRowForNormalItem(0, 'next'))
      @setModifiedState(false)
      @emitDidRefresh()

  renderItems: (items) ->
