Congratulations!
It may be that you have heard of Buddhism, practiced, planted good roots and cultivated Buddha's edge in this life, past lives or infinite life, so dreams often have efficacy.
The world should also practice more and improve constantly.
Dreaming of corpses shows that many dead people need to cross over in order to get happiness from suffering and reach bliss as soon as possible.
amitabha