Adds exit on esc key