Support shortcut cmd+s/ctrl+s for code editor forms.