Same technique as Australia's bush turkey.

https://en.wikipedia.org/wiki/Megapode#/media/File:Brushturk...

A more direct link than a crocodile, as birds came from dinosaurs.

Afaik, the modern view on birds is not that they came from dinosaurs, but they are dinosaurs, the only kind that survived.

That's probably a bit pedantic. Whether you draw a magic line with dinosaurs on one side and (avian) dinosaurs/birds on the other or just say that birds continued on from the avian dinosaur clade is pretty definitional.