I think a solution would be to create an extra component. Let’s say you create componentC for the content, then you import and use the component in both pageA and modalB. In these pages/modals you’ve got then an ion-header with your navigation and ion-content tags containing your component