Hello! I am trying to make a dialog usin jQuery ui, this dialog shoul display data of a person. I want to display them using a table. But i dont know how to do it. It is the first time i am creating a dialog box. I really need some help

         return false;
print $q->div({-id =>'dialog', -title => 'Profile', -style => 'display:none'},
        print $q->start_table({-id => 'id_tab'},
         $q->Tr([ $q->td ({-rowspan => '3'}),
                  $q->td({" "}) 
         $q->Tr([ $q->td ({-rowspan => '3'}),
                  $q->td({" "})