Added buttons to post, edit and redirect to previous page.