Merge pull request #10 from agektmr/master

ESC key support + 'cancel' event, autofocus, form[type=dialog]
changed autofocus to only applied when non-modal.