Delete the tab if the folder currently being shown is deleted or unmounted.