disable controls when hidden