Why am I getting this "Stop Script" message in IE7/8 when using a select list in a dialog?

Why am I getting this "Stop Script" message in IE7/8 when using a select list in a dialog?

Hi all,

I have a select menu inside of a jquery dialog on a page. The list is fairly long, 1450 items. When it is on the page it's self, it works fine. However when I embed it in a jquery ui dialog and click on it in IE7 or 8 (haven't tested 9), I get the infamous "Stop running this script" error, and the menu never opens. The page uses the jQuery validate plugin on the form, but removing that doesn't fix the problem. There is no other JS attached to the menu.