How to stop a Youtube Video playing in the background, from Modal pop up window after it is closed

I have create a pop up modal window, that has a Youtube video embedded. When you play the video, and close the pop up modal window where the Youtube video embedded, you can still hear the Youtube Video playing in the background. How can I fix this?

I believe @cyberdave answered this in a previous post.

Thank you for the sharp reply.