JitsiMeet window modal disapears when i allow mic

Hi,

I’ve added some custom modal window code the JitsiMeet index.html which works fine while im selecting my audio device or a room but the second i actually connect the modal window is either put behind the ui or removed.

I feel im just placing this code in the wrong file/place can anyone recomend a location or way to have a modal window on top of the UI when in a room.

Thanks.