Coleman died May 16 at 92.

Dolly Partonhas a lot of love for the lateDabney Coleman.

She explained ina sweet messagethat the two were actually close.

Dabney Coleman and Dolly Parton in ‘9 to 5’

Dabney Coleman and Dolly Parton costar in “9 to 5.".20th Century Fox/Everett Collection

“Dabney was a great actor and became a dear friend,” Parton wrote on social media.

“He taught me so much when I was doing my first movie,9 to 5.

He was funny, deep and smart.

We remained friends through the years and I will miss him greatly as many people will.”

As he lived, he moved through this final act of his life with elegance, excellence and mastery.

More than 40 years after its release, the film has become a TV staple.

His other work includesYou’ve Got Mail,Tootsie,On Golden PondandThe Muppets Take Manhattan.

He worked with Parton and Tomlin again inThe Beverly Hillbilliesmovie in 1993.