fix #1 implement QuitDialog as FragmentDialog