fixed modality of ErrorHandler dialog