linked up the demo page
Update README.md
addresses #1. sounds nice on voiceover on open now
toss focus back to the previously focused element on close. fixes #1
switched to bind
the internals now trigger events for open and close, so you can bind to those externally for extensions.
Separated out the tranlucent background/curtain from the dialog, in case you only want to show them at specific breakpoints.  Some of our designs switch between a dialog at small widths and a dropdown/menu style.
Merge Scott’s fixes from last night.
Added an option to conditionally override the scroll position (top position may not be desirable if switching between modal dialog and menu at different breakpoints).
Merge pull request #2 from zachleat/master

Separate dialog content from background
Links should match closest a, not event.target
Merge pull request #3 from zachleat/master

Dialog target links couldn’t have child elements.
Instead of setting existing top to auto, remove it (more flexible that way)
Merge pull request #4 from zachleat/master

Minor issue with overriding top
Prefixes events; adds objects for class/event strings.
Ensures that only the target dialog is opened when a dialog link is clicked.
made the click detection stricter.