Tori,
Mediation is about settlement and custody issues. Agreements on these need to be applied for within 12 months after D is granted. It can be done through court or mediation.
The D automatic - just a rubber-stamp following application. The settlement can drag on for a long time.