Push and pop the scroll position when opening and closing dialogs. Awesome if the dialog got scrolled.