AngularUI and Multiple jQuery UI Dialogs

I'm using the jQuery Passthrough module for AngularUI to separate content into dialogs on my page. The first dialog works great, the second dialog fails with a "TypeError: Cannot read property '1' of null."

Here's the jsfiddle:

http://jsfiddle.net/3wpKa/3/

With help from the AngularUI devs (thanks folks!), I was able to work-around the issue by wrapping each dialog in its own div: jsfiddle.net/3wpKa/12

<div>
    <div ui-jq="dialog" ui-options="{title: 'Dialog 1', autoOpen: open}">Dialog 1</div>
</div>