MediaView: proper cleanup, avoids 'cannot apply bindings multiple times'

On master this happens to me:
- Go to 'Browse medias'
- Click on one.
- Go to 'Browse medias' again.
The view is broken, console shows: 'Uncaught Error: You cannot apply bindings multiple times to the same element.'

This fixes it.