I have 2 components which are modal windows, where the second one is declared inside the first one template using a teleport like:
<!-- TheFirstComponent -->
<template>
<Teleport to="body">
<TheSecondComponent />
</Teleport>
</template>
My question is: Will be TheSecondComponent available if TheFirstComponent is unmounted (modal window closed) due to teleport usage?