So this is the working code. Still have to figure out the logic for pausing a video when modal closes but that's on a different discussion!
Basically what is happening here is if the modal has already been launched with that specific video then instead of creating a new one it just shows the existing one.