If you click outside the dialog, it closes. Most users expect an 'X' though as explained to me by @nout. I'll create an issue for it.