now actually i think i got it :) loading the form page in ajax will not execute the javascript residing in that loaded form page, you have to call it as a callback when the ajax call is finished (so when the modified document is ready).
an easy solution would be to load that form page via jqmodal as an IFRAME. to do this change the jqmodal window html code so that your page is loaded in an iframe instead of a div.