improved media selection in editor