document content load handling