Add parameter to stop propagation if selection was made using Enter key and prevent accidental form submit.