dialog() implemented in login and registration system

dialog() implemented in login and registration system

Hi there,

I tried out a tutorial for a login system with php, mysql and jquery ( http://tutorialzine.com/2009/10/cool-login-system-php-jquery/) for implementing it into my website.

This works like a charm, but, when i want to add a button, that when clicked on, opens a dialog().
This doesn't work.  Could somebody tell me why this isn't working?  Without implementing the login system the dialog appears like there's nothing going on.

Thanks