Just noticed: why don’t nodal dialogs display their ‘close’ gadget ?
macOS HIG
Usually modal dialogs are shown as sheets. If they are application-wide modal dialogs, they do usually not have a title bar and hence also no close button (but a Cancel and an OK button). Only modeless dialogs have usually a title bar and a close button.
See also: Close Modal Window