Movable dialog is not working inside a page with some scroll

This fix is restoring the right behave for the movable dialog even if the page has some scroll.
In fact, the full `data` block could be removed, right? An empty data object should work fine.