Ooh, right.
Okay, her lawyer should file everything for you. When there's a case pending, they will forward the agreement to the judge's associate and the judge will have a hearing in chambers to decide if they're in the best interests of the child.
After mediation, if you agree with whatever comes out of it, you will have to sign the agreement and they will do the rest. Just make sure you agree with everything, that's all.