media field now uses 3.5 uploader and integrates properly with its javascript API to get attachment ids. much better.