Which of the following sentences does NOT contain a dangling modifier?
A. To be a pro athlete, more training was helpful.
B. To improve scores, the test was given again.
C. Having arrived late to school, Kate needed a parent note.
D. Having arrived late to school, a parent note was needed.