Using the WordPress 3.5 Media Uploader within plugins → December 22, 2012 I bet I’ll have a need for this sooner or later.