Auto-focus on the modal's input field for creation of new entities in editor. Fixes issue #379
Added newline to end of file.
Re-added submit form event
Merge pull request #435 from yangshun/editor-modal-input-focus

Auto-focus on the modal's input field for creation of new entities in editor.