I am working on a website that requires a settings dialog to be loaded in a designated area upon clicking a button. The settings dialog is a component that retrieves data from REST endpoints. I am hesitant to simply insert the component and hide it as I am mindful of resource conservation. Can anyone advise on the best Angular 2 approach for achieving this?