The sentence "The Labrador, a large dog, barked loudly" correctly uses an appositive phrase.
"My hat flew off while walking to school" is an example of a sentence with a dangling modifier.
Imported from external platform