Dinos were not on the way out. That reading comes from a misinterpretation of the fossil record and bad statistics. Some species are represented near the extinction event; some are not found except in layers some time before the event. This is in fact the expected distribution with normal sampling. Since the record is fragmentary, and some species are hard to find in any event, its normal to not find them all exactly at the boundary between pre- and post-event.