The doctor doing the MRI will be able to advise you about this contrast agent in relation to her allergies.
Also, ask her ob/gyn (if she has one) how serious an ovarian cyst like hers is for someone her age, such as, would its removal be important and worth the risk to have an operation at age 89?