hey colins,
i did something similar with colorbox [similar tool]. it works and may be helpful for ideas.
in the template:
replace the 1-line the php echo $output with these 2 lines:
$output.='<script>$("a.crud-action").colorbox({iframe:true,width:"98%",height:"98%"}); </script> ';
add the css and js you need at the end of the head section -- something like this:
my controller is like this: