added ability to use escape for deselect