Changes modality method for modality_name