The triangles aren't necessarily congruent. SAS postulate is side angle side, which means that the angle that is congruent must be between the two sides that are congruent. DF is congruent to MN, and DG is congruent to MP. This means, that angle D must be congruent to angle M.
However, we only know that D is congruent to P, not M.