Improve client side validations for button groups and styles.