Dropping the dialog's steps now keeps the fields as they are then as where Undo Changes starts again, as a new opening does, so rows set with ui.dialog.set before the next frame can be undone.