Dialog modality fix