buttons now react to tabs empty or non empty