Dinosaurs may have actually lived with their ancestors for over 30 million years, new study reveals.