add basic keyboard controls to escape dropdown menus