Add calli.load() promise to fulfil when the page is loaded
Don't wait for top window when testing in a dialogue