How does Magento_Ui/js/modal/modalToggle use the `mage.modal` jQuery UI widget?

See also: