close out tabs based on domain via hooks