Fixed mistake in DialogError