Add onBeforeUnload event handler to prevent users from navigating away while we do XHRs.
Add onBeforeUnload event handler to prevent users from navigating away while we do XHRs.

dotKom/onlineweb4,dotKom/onlineweb4,dotKom/onlineweb4,dotKom/onlineweb4