try to fix the none closing dialog.