In which sentence are the italicized words a dangling modifer?
1.Arriving ten minutes late, the store was closed for the night.
2.Flying beneath the cloud,the pilot could see the airport.
3.Resting on the sea bottom, the old trunk held many coins.
4.Not knowing the danger, the soldiers marched into the trap.