Accessing ngx-bootstrap modals outside click event

I’m calling ngx-bootstraps modal from within a ng-template in my applications component. I have built my current setup in a stackBlitz example As you can see, I have added another event to the modals …