Sofia Vergara was diagnosed with thyroid cancer at 28