added saveHandler so users can edit/save pages.