Wait for the hyperlink dialog to be gone first