wait for page to open.