Yes, HARMONY does generate different chords for modes, but you need to tell it the tune is modal, by the key (K:) command.
Harmony also does do a check when generating chords, and puts up a warning if the key signature appears to be incorrect, based on start and end notes. If possible, it suggests a possible key or mode.