Close dropdown on esc keypress