close dropdown and move on tab