• BREAKING NEWS ABC shows live and on-demand -- Download the WATCH ABC app!

OTRC: Sofia Vergara, 40, froze her eggs for baby, talks past cancer (Video)

Sofia Vergara appears in a promotional photo for the ABC show 'Modern Family.' (Bob D'Amico)

'Modern' mom Sofia Vergara has family on her mind -- and not just her television series.

The 40-year-old actress revealed to ABC's Good Morning America that she has taken "advantage of science" and frozen her eggs in anticipation of a future child.

"I took them out already," said the newly blonde Vergara. "They're in the refrigerators. Hopefully, they'll be fresh by the time I use them."

Vergara, who portrays the beautiful housewife Gloria Pritchett on ABC's "Modern Family," has a 21-year-old son from a former marriage. But the actress' real-life fiancé, producer Nicholas Loeb, is currently childless, and Vergara wanted to take measures that would keep the possibility of procreation alive.

"My boyfriend Nicky is three years younger than me and he's never had a son," Vergara said. "I have my son, Manolo. So it's not an emergency for me to have another kid, but for Nicky, he's never had a baby."

She also discussed wedding plans in the interview, and is hoping to set a date with Loeb for next summer.

A survivor of thyroid cancer, the Colombian actress appeared on 'Good Morning America' to promote a campaign titled Follow the Script, which raises awareness of the disease and promotes early detection and treatment.

"I had cancer 10 years ago and because they took my thyroid out, I've never had a problem because I've taken control of it," Vergara said. "I've always been serious with it. I take my medication; check my blood every two or three months. Just be proactive about it. Be smart and do something."

Watch Vergara talk more about her cause in the video below.

(Copyright ©2018 OnTheRedCarpet.com. All Rights Reserved.)