Emoji popup opens on wrong page
Summary
When leaving a page while the emoji popup is still loading, it is in some cases shown on the wrong page.
Steps to reproduce
- click add emoji button on any issue
- press t on keyboard (find by path)
Expected behavior
Find by path page is shown, no emoji popup is visible.
Actual behavior
Emoji popup is displayed on find by path page.