Document will new send event to parent window (e.g. for communicating it is loaded if enclosed in an iframe)