zend

How to load a Zend form view to Dojo tab container programatically ?

Hi, I'm trying to load a Zend_Form into a Dojo tab container programatically (when a user create button on page new tab with a user form is added to the tab container). I have created the form view correctly (/modules/default/views/scripts/forms/index.phtml), but I have no idea how should I call this form inside my js function. ...