yes it IS an eternal loop. I'm using IE7 and it just alerts to "false". clicking ok prints another row and alerts again. after a few alerts the page does load in ff... but you're going to have to address that issue.
did you look at the link i posted? it has a tutorial on how to do what you want...