Prevent window scrolling to top after cancelling/submitting a form.