Using WP media uploader to add attachments rather accessing plupload directly