Fix DialogBug