avoiding a double-flash of the dropdown on backspace