MinimizableModal.closePatchComponent
MinimizableModal › closePatchComponent
Type: MonkeyAroundComponent
Patches the wrapped modal'sonClose to run cleanup. Persists for the wrapper's whole life (a modal can be reopened, so the patch must survive each close), hence a dedicated component that is never unloaded — distinct from peekLockComponent, whose patches live only while minimized. Exposed to subclasses so they can register additional lifetime-scoped patches on the wrapper.