Add a close button to each image in the media bar