Added edit mode to posts.