Update Media.php

Add ui.tooltip and good dependencies