close autocomplete on submit