Hide table headers for traits/selections variates as well as for the add variable popup table if there is no row to be displayed

Reviewer: Tiff Go (Post commit)

Issue: GCP-8949