modality choicefield not working