Which sentence contains an error involving a dangling modifier?
A: My room sparkled after I finished cleaning and dusting it.
B: As I looked back over my shoulder, I saw the sun begin to set.
C: While filling the tank with gas, some of it spilled on the pavement.
D: To qualify for the team, players must shoot at least five under par.