Manual Media Library Access

<?php
//Add this to your functions.php to activate thickbox on your admin page
wp_enqueue_style('thickbox');
wp_enqueue_script('thickbox');
?>

<!-- This is the trigger -->
<a href="http://mydomain.com/wp-admin/media-upload.php?post_id=2662&TB_iframe=1" class="thickbox" >Attach Media</a>

<script type="text/javascript">
//This prevents error and thickbox white screen. Add to your scripts file loaded by your plugin.
function send_to_editor(html){ alert('Attachment Added to Post'); tb_remove(); }
</script>