Closes an overlay by id, or the top overlay when no id is supplied.
Optionalid: stringReturns an immutable bottom-to-top stack snapshot.
Handles Escape against only the top layer.
Reports whether a modal layer above an overlay blocks interaction.
Returns the current top layer.
Headless ordered overlay and modal-layer state.