returnValue

The returnValue property of the HTMLDialogElement interface is a string representing the return value for a dialog element when it's closed.

MDN Reference