Mary,

You will not lose her. Everything will be fine. I have been in court a lot, I'm afraid. And what I have seen is that most things are decided in the judge's chambers before the judge even comes out. The two lawyers meet with her, they work out the deal, and then in the courtroom she asks you to confirm that that is what you want. You say, "yes", and it's decided. It's all happens very fast and with no bickering. You will be fine. Just put your trust in your lawyer.