To close the tab by double clicking on it, since double clicking on the panel creates a new tab.