Here is the sentence:
		Drooling in anticipation of the treat, Gizmo waited for Sylvia to reward 
		him with a dog cookie.
	Nice work, grammar brain! Drooling in anticipation of the treat, a participle phrase, is right next to Gizmo, its logical target.