Certain features are disabled when clicked but not used

Just fixed the issue when pressing ESC while a modal is open.

https://github.com/discourse/discourse/commit/3bae2cca4d22f88ff5a7c563a8524e9a3281a89c

2개의 좋아요