special key capture logic for selectize