Fix validation and action buttons.