Added `_lastSavedSignatureTab` to store the last active signature tab. Updated `OpenSignaturePopup` to restore the last tab if a signature exists. Updated signature submission logic to save the current tab before closing the popup.
Added `_lastSavedSignatureTab` to store the last active signature tab. Updated `OpenSignaturePopup` to restore the last tab if a signature exists. Updated signature submission logic to save the current tab before closing the popup.