Fix Bug 945337 - Prevent embed from disappearing when 'click here to clo...

...se' was clicked

https://bugzilla.mozilla.org/show_bug.cgi?id=945337