Minor bug fixes in the media modal

- Fixes an issue with the size of the media modal affecting the size of other modals.
- Removes console logging