Hides caste-buttons when they become disabled.