Resizable dialog is not working inside a page with some scroll

This fix is changing the way we set the position of the resizable overlay, using the real position of the element insted of its position inside the viewport.
Not my code, but yes the addCallback is completely useless, I'll remove it