       when $.ui.keyCode.BACKSPACE
         if !@get 'hasText'
           pv.willRemoveLastSelection()
-          @set 'wantsCandidates', false
           e.preventDefault()
       else
         @set 'wantsCandidates', true


    switch e.keyCode
      when $.ui.keyCode.TAB, $.ui.keyCode.ENTER
        @set 'wantsCandidates', false
        pv.willAddSelection()

        if @get 'hasText'


    if @get('controller').canAddSelection @get('selections.content'), item
      @get('controller').addSelection @get('selections.content'), item
      @set 'entry.wantsCandidates', false

  willRemoveSelection: (item) ->
    if @get('controller').canRemoveSelection @get('selections.content'), item
      @get('controller').removeSelection @get('selections.content'), item
      @set 'entry.wantsCandidates', false

  willRemoveLastSelection: ->
    @willRemoveSelection @get('selections.content.lastObject')
