$("div[id$='repeat_options']").first().html('<%= j render(:partial => 'easy_repeating/simple_form', :locals => {:object => @entity}) %>');
$('#ajax-modal_easy_acts_as_easy_is_easy_repeating').dialog('close');
