solve DialogPractice2