fix: Better behavior of enter press for autocomplete