In the event the surviving spouse dies before the time for electing the elective share expires, the personal representative of the decedent's surviving spouse may, in like manner and every respect, make the election on behalf of the deceased spouse. In like manner, the personal representative may withdraw a demand for an elective share at any time before entry of a final determination by the court.