Which of the following sentences contains a dangling modifier?
A. Playing with the children, it was obvious they had a good time.
B. The nurse arranged the medication on the try while talking to the doctor.
C. In order to get good grades, you need to apply yourself more in class.