abstract overlay.close
close overlays on esc (fixes #598)
Merge pull request #729 from xi/feature-598-fix-overlay-esc

fix overlay esc