fix bug where pressing backspace in select dropdown triggers back button