dangling modifier

noun

1.
a word or phrase apparently modifying an unintended word because of its placement in a sentence: e.g., ‘when young’ in ‘when young, circuses appeal to all of us’