add tabs.onRemove.addListener. however it doesnt work with non blank tab...