Prevent reload if form fields have been modified