winnig dialog fix