After looking at this, can you drop the jquery dependency and just render the actual link in the table? That will make this easier to read and remove the Dialog popup.