When closing the various "edit" media modals, remove the related views elements from the DOM. Props gcorne, fixes #27204.

git-svn-id: https://develop.svn.wordpress.org/trunk@27276 602fd350-edb4-49c9-b593-d223f7449a82