exit on Enter and Exit selected