However , these fossils differ from modern cockroaches in having long ovipositors and are the ancestors of mantis as well as modern cockroaches . However , these fossils differ from modern cockroaches in having long external ovipositors and are the ancestors of mantises as well as modern cockroaches .