modify dialog