Covered two more cases in which the page was being scrolled to the top when opening a dialog