You can also make a module open in a modal by using the inline Content Tag described above and then simply embedding the module inside those tags.
You can do so by using the core "Load Modules" plugin:
{modalcontent mymodule}
{loadmodule mod_custom My Module Title}
{/modalcontent}
{modal content="mymodule"}Click here to open My Module{/modal}
Or you can also use Modules Anywhere to accomplish this:
{modalcontent mymodule} {module My Module Title} {/modalcontent} {modal content="mymodule"}Click here to open My Module{/modal}
Some modules that rely on scripts and external styles may not work using the inline method. In that case, you might need to use the alternative method below:
Via a new article
An alternative way to open a module in a popup window is to first create a new article and embed the module in that article.
Then, simply link to that new article using Modals.