Did dinosaurs have any relation with dung‐beetles? (The origin of coprophagy)

Did dinosaurs have any relation with dung‐beetles? (The origin of coprophagy)