Which sentence contains a misplaced modifier?

A.
At dawn, everyone was up and getting ready to go.

B.
On the night before the trip, everyone went to bed early.

C.
By 8 a.m., the Swansons were on the road.

D.
With the cooler of food near the front, Mr. Swanson packed the car.