cancel button on edit page now redirects to posts detail page