Delete the post when user try to revert to a empty post