Can someone tell me if I correctly identified and corrected the sentence with the misplaced modifier.

original sentence
I drank a cold glass of iced coffee for dinner today.

corrected sentence
cold modifies glass
I drank a glass of cold iced coffee for dinner today.

Is this correct?

Yes, it's correct -- but aren't "cold" and "iced" redundant? After all, a glass of iced coffee wouldn't be warm, would it?