Add a new post and edit an old post.