A modifier is a word or phrase that describes something. It should sit right next to what it describes.
Misplaced: "She almost drove her kids to school every day." (Did she almost drive?) Better: She drove her kids to school almost every day.
A dangling modifier has nothing in the sentence to describe: "Walking into the room, the lights turned on." (The lights weren't walking.) Fix it by naming the doer: Walking into the room, I turned on the lights.