using blockUI without inlining markup

using blockUI without inlining markup

I have a rather complex chunk of markup, which pops up as a model dialog.

Im trying to achieve this with blockUI, but all the examples Ive seen requires me to pass the markup in javascript, when I call blockUI()

Is there a way I can just say $.BlockUI("#block_everything_except_this_div_id") ?

Thanks