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.
Maybe there should be an assert to be sure that the scroll was correctly done (checking `scrollTop`).