Hi,
I have an idea to limit the number of bugs in RFE #1518 (Navigate away patch). That feature is currently applied to all input/textarea elements on all pages. However, it is not useful on every page/form elements. So, we can limit this feature to certain pages/forms on which it can be useful by adding a class "no-navi" (need a suggestion for better class name) to forms on which we require this feature and listen on only those forms having this class. Doing this change will not require much time and for a test we can add this to class to few forms and can extend it later. I can create a PR to do this.