NEED A CORRECT ANSWER NOW!!WILL MARK BRAINLIEST!!

Which sentence contains a misplaced modifier?

A. The teacher shared the poems that her students wrote.

B. My brother ate the candy that i had hidden in my dresser.

C. The children are in the art class that is held at the recreation center.

D. The dogs know several commands that take the obedience class.