fix race condition in test waiting for URL to load, causing spurious failure in Dialog_a11y.html on Chrome/win, refs #15370