Fix lingering page loading dialog.