Fix for #6
IE8 threw an error on the scroll position. Also, a fix for the dialog background when the page has a scrollbar.
Merge pull request #7 from zachleat/master

Fix for #5 and #6