(1) A joint will is ineffective in its entirety in the cases governed by section 2077.
(2) If the marriage is dissolved before the death of one of the spouses, or if the prerequisites set out in section 2077 (1) sentence 2 or 3 are met, the dispositions remain effective to the extent that it is to be assumed that they would also have been made for this case.