typeahead now executes form submit function on select