esc should close, enter should select