I’m not 100% sure wat you’re asking but this post may help…
This is of course for a side menu but you may be able to apply similar logic to the modal.
I’m not 100% sure wat you’re asking but this post may help…
This is of course for a side menu but you may be able to apply similar logic to the modal.