Working dynamic new page with dates on change. Needs fectoring when done.