prevent reload when focus is in a form element or editable area