catche change in page event at the document level
merge