A panel that can be dismissed, either through user interaction or other events. Dismissing a panel will set requestsRemoval to true. This causes it to be removed from the frontend, preventing it from being shown again.
Called when the panel has been dismissed from the system UI, either through user interaction or other events. This causes requestsRemoval to be set to true. The panel will be removed from its frontend, causing onRemovedFromFrontend to be called. This destroys the lifecycle and prevents the panel from being shown again.