prevent form from being submitted when enter is pressed in multiselect. fixes #961