up.modal.extract(selector, html, options)
Extracts the given CSS selector from the given HTML string and opens the results in a modal.
var html = 'before <div class="content">inner</div> after'; up.modal.extract('.content', html);
The would open a modal with the following contents:
The CSS selector to extract from the HTML.
The HTML containing the modal content.
A promise that will be fulfilled when the modal has been opened and the opening animation has completed.