OPAL-2045

did the same change for when adding tables. 
Fixed empty widget bug in Table control when there was no data.