I need to attach and detach an instance of a component from a portal without reinitializing it every time I attach as it degrades the performance of the application a lot.