VE-1178: Introduced two new events: popStateDeactivated and popStateActivated and use one of them for tracking when user navigates out of the editor by back button