Hi, Actually this doesn't work for me, not even in a very basic example from jquery modal page. Anyway, I was not specific enough. In your scenario it is enough to have <a href="#" class="jqmClose"> Close me </a> inside of the AJAX loaded page.
The problem I have is that I have a form inside the ajax page, that is using ajaxForm (jqForm plugin). And after the form is submitted, the link does not work anymore :( Any ideas?