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.
This line does not seem to be useful. Maybe you could remove it?