Document page lifecycle