Update report a problem url on submit

Using pushState can change the url which a user encountered the error on.
Update the url just before form submission.