Save edits to a page
Add some basic error handling