Which sentence has a dangling modifier?

A. Finding the correct seat, I sat down in relief.

B. Breaking into a sweat, the test was about to begin.

C. Forgetting where to sit, I wandered around for 10 minutes.

D. Passing out the tests, the instructor smiled at me with understanding

need help fast pls