close

val ERROR CLASS: Symbol not found for Command.Companion.close: Command(source)

The button will close a dialog element. If the dialog is already closed, no action will be taken. This is a declarative equivalent of calling the HTMLDialogElement.close() method on the <dialog> element.