Worked on the dialog