The pair developed a romance on the set of the ABC drama after going through divorces around the same time.