Basic Jquery UI dialog for registration