To dynamically add new components to a page (after it was bootstrapped) or to lazy load components, you can follow the document here: https://docs.adobe.com/docs/en/aem/6-2/develop/communities/essentials/sideloading.html#Dynamic%20LoadingFor your use case, of injecting some component on a modal dial...