Enable ESC to close cheatsheet if it was opened when focus was in input, select or textarea