(a) A personal representative or person nominated as personal representative who defends or prosecutes a proceeding in good faith and with just cause shall be entitled to receive necessary expenses and disbursements from the estate regardless of the outcome of the proceeding.
(b) (1) Subject to paragraph (2) of this subsection, in addition to the compensation provided for in this subtitle, a personal representative is entitled to reasonable commissions or attorney’s fees, as determined by the court, in connection with an election by a surviving spouse to take an elective share under § 3–403 of this article.
(2) The amount of compensation or attorney’s fees consented to by all interested persons is presumed to be reasonable.