Wich of the following is a dangling modifier in the sentence below.

All of the required materials should be carefully gathered before beginning the project

A. Before the project

B. Carefully

C. Required

D. Of the required materials