Autocomplete select box supports optgroups and removing of selected options