Close via method="dialog"
Close via .close() method
Or hit the
Esc
key
Open dialog