Edit dialog fields