How can do this:
When last tab is closed, destroy the parent panel?
Thank you in advance!