close

fun close()

Close the active overlay and re-open the ORIGINATING pill's sheet (Send / Receive ⇒ wallet; Settings ⇒ its WalletOverlay.Settings.launchSource) by bumping that pill's reopen counter. This restores the old back-to-sheet stack: Back from any overlay returns to the sheet that launched it rather than dropping to bare content. Use dismissForLock for the no-reopen path.