Only stuff inside of a form display when post a jquery dialog

Hi,

So I open a little test jquery dialog to do some stuff but the thing
is only stuff within a form actually show.

For example my code for the page that is rendered is:

hello PRE

<%= form_tag close_now_escalation_path, :id => 'close_escalation' do %>

<%[email protected]%>

hello POST

<%= submit_tag 'close', :class => 'submit' %> <% end %>

when it gets called using
$(‘a.popup’).click(function() {
$(’

’).appendTo(‘body’).load($(this).attr(‘href’) + ’
form’).dialog({
title: $(this).text()
})
return false;

only the hello POST displays.

I am at a loss on this one.

Thanks,
Dal