better use valueChanged to trigger change in model visibility