Confirm or Cancel dialog with Enter/Esc key