gutting old commented out code for media modal