added esc event handler
Merge pull request #2 from shoelace-ui/eschandler

added esc event handler