edit dialog window