ESC key doesnt work when exiting pop-up?

Hi – before I inherited some custom UI templates, clicking ESC on my keyboard would close the pop-up window. Now clicking ESC doesn’t … I’m thinking the custom CSS is causing this … Is there any way I can override it and enable/allow ESC just for certain pop-ups?
1 answers

You should be able to solve this with javascript

look at this link

you can use the htmlWidget from the appstore to put it in the popup page and then add the required javascript into it