Fix enter as confirm key submitting form when using typeahead and freeInput=false