(1) A contract of inheritance also may be avoided by the testator on the basis of sections 2078 and 2079; for avoidance on the basis of section 2079 it is necessary that the person entitled to a compulsory share is alive at the time of the avoidance.
(2) If, after the death of the other contractual party, a disposition made to the benefit of a third party is to be avoided, the avoidance is to be declared to the probate court. As a rule, the probate court is to communicate the declaration to the third party.