Optional autofocus on typeahead selection