Just really posting it here to see what people think. Its just something I bodged together this afternoon. The tricky part is waiting for simple modal to be fully expanded before allowing google code to load the book, otherwise you end up with the google API trying to adjust the dimensions of an invisible element (at least I think that was what the problem was). Go here to take a look at it in action, and here for the js.
Also, credit where credit is due. The UI is taken directly Eric Martins Simple Modal OSX Style Dialog. I like it a lot