Keep in mind that the modes are not limited to their natural scales (IE: D Dorian, E Phyrgian, etc.). Each of the modes can be used in any scale. That’s why it’s important to learn the intervals of each mode.
Dorian: Flattened 3rd and 7th
Phrygian: Flattened 2nd, 3rd, and 7th
Lydian: Sharpened 4th
Mixilydian: Flattened 7th
Aolian: Flattened 3rd, 6th, and 7th (same as minor scale)
Locrian: Flattened 2nd, 3rd, 5th, 6th, and 7th