How does Magento_Catalog/js/custom-options use the `mage.modal` jQuery UI widget?

See also: