State events for pages

done