Changed the way actions of the page are processed.