Added error messages when creating/editing various pages