A function to explicitly close the opened tab.
Whether the opened tab is closed.
Optional
Сan be assigned to a function. If provided, it will be called when the opened tab is closed.
A function to explicitly close the opened tab.