LOS ANGELES — The family of teenage actress Ariel Winter agreed Wednesday to undergo counseling to try to resolve issues that led to her mother losing custody and control of her daughter's already prolific career for the near future.

The accord came shortly before a trial over who would raise the "Modern Family" star was scheduled to begin, with both sides appearing likely to air longtime family grievances and other issues in court. Winter's mother, Chrisoula Workman, has been accused of physically and emotionally abusing her 14-year-old daughter, claims she has vehemently denied.

For the next several months, Winter will continue living with her adult sister, Shanelle Gray. The sisters held hands throughout court proceedings as a judge reviewed the agreement. Her father, Glenn Workman, was granted temporary control of his daughter's finances, and both parents agreed to undergo counseling with Winter and Gray to seek a potential long-term reunification.

The settlement makes clear that fundamental changes will have to occur with Winter's parents for them to continue raising her.

"The parties acknowledge that there is no assurance that Ariel will return to the home of either or both parents," the agreement states.

A therapist will set the terms of counseling, and when and how often Winter and Gray will meet with their parents.

The agreement calls for Winter's mother to not have any involvement in her acting career and relinquish control in Winter's company unless a court orders otherwise. "Chrisoula Workman shall have no contact with nor in any way interfere with Ariel Winter Workman's professional relationships and business contacts," the agreement states.

Ariel, who has been acting since age 7, plays Alex Dunphy on the ABC series, which is both popular and critically acclaimed.

Chrisoula Workman left the courtroom crying and did not speak with reporters as her husband, who had been living separately from her recently, held her hand and navigated a crowd of cameras.

Superior Court Judge Michael Levanas praised the family and their attorneys, saying, "I do believe things are going to get better."

An initial report by child protective services found evidence of emotional abuse, but claims of physical abuse were deemed inconclusive, Levanas said last month.

Since October, Ariel, who turns 15 in January, has been living with Gray, an actress who has appeared on "The Bold and the Beautiful" and operates acting studios with her husband. Gray's attorney has said she was subjected to similar abuse by her mother and that state authorities removed her from Chrisoula Workman's home when she was a teenager.

The actress' brother, Jimmy Workman, said after the hearing that Gray's claims were overblown and the family had been close until recently. "My mother is a loving, caring sweet individual who's done everything for her children," he said.

The trial would have likely featured testimony from various family members and acquaintances about the abuse claims lodged against Chrisoula Workman. She had contended Gray was an unfit guardian and had sought detailed financial information to try to prove her claim.

Guardianship cases in California are public record. Gray's attorneys requested the case and its proceedings be sealed, but a judge refused. The case was filed under Ariel's birth name, Ariel Workman, in part to avoid attention.

Ariel has several projects in the works and already has a lengthy resume of appearances on TV series such as "ER" and "Phineas and Ferb" and movies such as "Kiss Kiss Bang Bang," "Ice Age: The Meltdown" and "ParaNorman."

___

Anthony McCartney can be reached at http://twitter.com/mccartneyAP

Also on HuffPost:

Loading Slideshow...
  • Celebrity Photos: June 2014

    Lady Gaga rocked some 80's style while leaving her apartment building in New York City on June 6.

  • Celebrity Photos: June 2014

    Eva Longoria and Felicity Huffman had a little "Desperate Housewives" reunion at the AFI Life Achievement Award: A Tribute To Jane Fonda at the Dolby Theatre in Hollywood, California on June 5.

  • Celebrity Photos: June 2014

    Lindsay Lohan was seen at Chiltern Firehouse in London on June 5.

  • Celebrity Photos: June 2014

    Scott Disick attended the 2014 FIFA World Cup McDonald's launch party at Pillars 38 on June 5 in New York City.

  • Celebrity Photos: June 2014

    Lena Dunham was seen rocking a "No Comment" sweater while out and about in New York City on June 5.

  • Celebrity Photos: June 2014

    Hilary Duff was all smiles as she ran errands on June 5 in Beverly Hills, California.

  • Celebrity Photos: June 2014

    Channing Tatum has some fun at the "22 Jump Street" premiere at AMC Lincoln Square Theater on June 4 in New York City.

  • Celebrity Photos: June 2014

    Nicole Kidman and Keith Urban attended the 2014 CMT Music Awards at the Bridgestone Arena on June 4 in Nashville, Tennessee.

  • Celebrity Photos: June 2014

    Carrie Underwood attended the 2014 CMT Music Awards at the Bridgestone Arena on June 4 in Nashville, Tennessee.

  • Celebrity Photos: June 2014

    Kendall and Kylie Jenner were seen stepping out in New York City on June 4.

  • Celebrity Photos: June 2014

    Bradley Cooper got whipped into shape by military personnel while filming scenes for his upcoming movie "American Sniper" in Los Angeles, California on June 4.

  • Celebrity Photos: June 2014

    Sarah Jessica Parker went for a walk on June 4 in New York City.

  • Celebrity Photos: June 2014

    Emma Roberts and Evan Peters enjoyed a romantic stroll on the beach together while vacationing in Maui, Hawaii on June 3.

  • Celebrity Photos: June 2014

    Kim Kardashian stopped by Craig's in West Hollywood, California to have lunch with her mom Kris Jenner on June 3.

  • Celebrity Photos: June 2014

    Taylor Schilling attended the Glamour Women of the Year Awards at Berkeley Square Gardens on June 3 in London, England.

  • Celebrity Photos: June 2014

    Miranda Lambert stopped by ABC studios for an appearance on "Good Morning America" in New York Cit on June 3.

  • Celebrity Photos: June 2014

    Angelina Jolie attended the "Maleficent" photo call at The Bund on June 3 in Shanghai, China.

  • Celebrity Photos: June 2014

    John Mayer enjoyed dinner out at Madeo Restaurant on June 2 in West Hollywood, California.

  • Celebrity Photos: June 2014

    Blake Lively left her hotel with designer Michael Kors and headed to the 2014 CDFA Awards on June 2 in New York City.

  • Celebrity Photos: June 2014

    Gwen Stefani spotted leaving a skin care clinic while out and about in Beverly Hills, California on June 2.

  • Celebrity Photos: June 2014

    Katie Holmes spotted picking up Jergens Natural Glow Daily Moisturizer in New York City on June 2.

  • Celebrity Photos: June 2014

    Pete Wentz took a test drive of the new Mario Kart 8 for Wii U in Los Angeles, California on June 2.

  • Celebrity Photos: June 2014

    Halle Berry attended the Huading Film Awards on June 1 at Ricardo Montalban Theatre in Los Angeles, California.

  • Celebrity Photos: June 2014

    Kim Kardashian was seen at LAX on June 1 in Los Angeles, California.

  • Celebrity Photos: June 2014

    Shailene Woodley was seen leaving the Bowery Hotel in New York City on June 1.

  • Celebrity Photos: June 2014

    Marion Cotillard spotted out and about with a friend in New York City on June 1.

  • Celebrity Photos: May 2014

    Khloe Kardashian chatted away on her cell phone as she arrived on a red eye flight at JFK airport in New York on May 31.

  • Celebrity Photos: May 2014

    Naomi Watts headed to the gym for a morning workout on May 30 in Brentwood, California

  • Celebrity Photos: May 2014

    Jane Lynch signed copies of her book "Marlene, Marlene, Queen of Mean" at the 2014 Bookexpo America at The Jacob K. Javits Convention Center on May 29 in New York City.

  • Celebrity Photos: May 2014

    Taylor Schilling, Jason Biggs and Laura Prepon attended a photo call to launch season 2 of Netflix exclusive series "Orange Is The New Black" on May 29 in London.

  • Celebrity Photos: May 2014

    Peter Facinelli and Jaimie Alexander shared a kiss after their work out at a gym in West Hollywood, California on May 29.

  • Celebrity Photos: May 2014

    Mariah Carey at the 2014 Fresh Air Fund Honoring Our American Hero at Pier Sixty in New York City on May 29.

  • Celebrity Photos: May 2014

    Farrah Abraham spotted posing for cameras in New York City on May 29.

  • Celebrity Photos: May 2014

    Prince William and Kate Middleton visited Strathearn Community Campus in Crieff, Scotland on May 29.

  • Celebrity Photos: May 2014

    "The Bachelorette" Season 1 couple Trista and Ryan Sutter stopped to pose for the cameras while out and about in New York City on May 29.

  • Celebrity Photos: May 2014

    Angelina Jolie and Brad Pitt at the Los Angeles premiere of "Maleficent" at the El Capitan Theatre in Hollywood, California on May 28.

  • Celebrity Photos: May 2014

    Chris Martin and his band Coldplay perform live at the Casino de Paris on May 28 in Paris.

  • Celebrity Photos: May 2014

    Hilary Duff stopped by a nail salon in Los Angeles, California on May 28.

  • Celebrity Photos: May 2014

    Scott Disick spotted out and about with a friend in New York City on May 28.

  • Celebrity Photos: May 2014

    Emily Blunt attended the premiere of "Edge Of Tomorrow" on May 28 in London.

  • Celebrity Photos: May 2014

    Nina Dobrev wowed at the World Music Awards 2014 at Sporting Monte-Carlo on May 27.

  • Celebrity Photos: May 2014

    Kristen Stewart departed on a flight at LAX airport in Los Angeles, California with her bodyguard on May 27.

  • Celebrity Photos: May 2014

    Amanda Seyfried, Charlize Theron and Seth MacFarlane attended a photo call to promote "A Million Ways To Die In The West" on May 27 in London, England.

  • Celebrity Photos: May 2014

    Jennifer Garner met a friend for lunch at Larchmont Bungalow in Los Angeles, California on May 27.

  • Celebrity Photos: May 2014

    Tom Cruise attended "Edge Of Tomorrow" photocall at Terrazza Civita on May 27 in Rome, Italy.

  • Celebrity Photos: May 2014

    Kaley Cuoco and her husband Ryan Sweeting attended Joel Silver's Annual Memorial Day Party at his home in Malibu, California on May 26.

  • Celebrity Photos: May 2014

    Kris Jenner and baby North West left Florence Airport after Kim Kardashian And Kanye West's wedding on May 25 in Florence, Italy.

  • Celebrity Photos: May 2014

    Emma Watson, in a cap and gown, attending Brown University’s 2014 Graduation Ceremony in Providence, Rhode Island on May 25.

  • Celebrity Photos: May 2014

    Eva Longoria had a busy morning in Los Angeles, California on May 25.

  • Celebrity Photos: May 2014

    Iggy Azalea arrived at The Bank nightclub at the Bellagio on May 24 in Las Vegas, Nevada.

  • Celebrity Photos: May 2014

    Supermodel Hilary Rhoda and her fiance former "DWTS" contestant Sean Avery celebrated Memorial Day with Tequila Don Julio cocktails from the Airstream speakeasy in the Hampton's on May 24.