Added asynchronous callback for webpage open completion