Review the sentence:
Painted pink with gold sparkles, Madeline admired her nails.
Painted pink with gold sparkles, a participle phrase, is right next to Madeline, an illogical target. Really, are not her nails a more appropriate target for that modifier?
Before you continue, review the rules for misplaced and dangling modifiers.