modified overlay

added 'esc' key handling