Redirect properly after page edits