improved enabling/disabling controls in views