hide dropdown on enter, tab and esc