In an Angular 9 project, I have a QueryBuilder component placed within a modal DialogComponent. The summary view is active as you can see by the button in the screenshot below.

On the first launch of the modal, I get a null exception within the QueryBuilder component since the summary element apparently does not exist in the DOM yet:
Please advise how this can be resolved.
Jon