to add DIDialog for ok