Fix Dialog's divider and touch outside bug.