So if your friend is playing a D minor chord and he says play D dorian. If you think of C major your phrasing will be off. Although it's the same notes, you find C, as a root, doesn't mesh good over a D chord.
This is why if you look in Jazz Improv books, they'll give you chords. maybe all in one key, but under each chord they're ask to play the mode that goes with that chord. this is because of phrasing. And good jazz soloing depends on it.
Try this if you can.
Record yourself playing a rhythm with a D minor chord. Play it back and play scale runs in C major. Next try it with D dorian? Which sounds better?
"My whole life is a dark room...ONE BIG DARK ROOM" - a.f.i.