avoid active tabs without content