How do I close an iframed event on button click?