store state on page when using page state routing