Moved delete post into fragment.