Merge pull request #2 from zachleat/master

Separate dialog content from background
Merge pull request #3 from zachleat/master

Dialog target links couldn’t have child elements.
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.