Dinosaurs may have their DNA to thank for why they stuck around so long on Earth.