fixed edit dialog