dismiss

fun dismiss()

Dismisses the panel, triggering the end of its life. It will be removed from the frontend, causing onRemovedFromFrontend to be called and preventing it from being shown again. May not be called if the panel has not been added to a frontend.