Added cancel buttons to edit post and add post views.