only popup autocomplete if tab