Fix the 'ctrl-s' problem

Fix a bug that when pressing 'ctrl-s' in editor will invoke the browser's "Save as" function.