closedby="any"
: Closes with ESC key, backdrop click, and
close button
closedby="closerequest"
: Closes with ESC key and close
button only
closedby="none"
: Closes with close button onlyCan be closed with ESC key, backdrop click, and close button.
Status: Closed
Can be closed with ESC key and close button only. Backdrop clicks are ignored.
Status: Closed
Can only be closed with the close button. ESC key and backdrop clicks are ignored.
Status: Closed
You can change the closedBy attribute while the dialog is open.
Status: Closed