changed close key just to esc