Add confirm when navigating away from page
What does this MR do?
Add confirm when navigating away from issue page.
Are there points in the code the reviewer needs to double check?
No
Why was this MR needed?
https://gitlab.com/gitlab-org/gitlab-ce/issues/42102
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
-
Tests added for this feature/bug - Review
-
Has been reviewed by UX -
Has been reviewed by Frontend
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Squashed related commits together -
Internationalization required/considered