put in if statement to catch last input not calling enableEditorNextFiel...

...d