refactored MediaDetailPanel to listen to a MediaData selection manager