       singleton: editModeOptions.singleton
 
     @push
-      _name: "#{@id}/focus"
+      _name: "#{@id}/monitor"
       focus: (event) =>
         @alwaysContinueBubbling =>
-          if event?.target == editModeOptions.singleton
+          if event?.target == editModeOptions.targetElement
             console.log "#{@id}: reactivating edit mode" if @debug
             editMode = Mode.cloneMode EditMode, editModeOptions
             if lastSubMode

# Todo:
# Fix word movement, particularly for "a word".
# Konami code?

# This prevents printable characters from being passed through to underlying page.  It should, however, allow
# through chrome keyboard shortcuts.  It's a backstop for all of the modes following.

      new SuspendedEditMode @options, lastSubMode

# In edit mode, the input blurs if the user changes tabs or clicks outside of the element.  In the former
# case, the user expects to remain in edit mode when they return.  In the latter case, they may just be
# copying some text with the mouse/Ctrl-C, and again they expect to remain in edit mode.  SuspendedEditMode
# monitors various events and tries to either exit completely or re-enter edit mode, as appropriate.
class SuspendedEditMode extends Mode
  constructor: (editModeOptions, lastSubMode = null) ->
    super
