RJS replacement problem

Hi    I have a main file edit_sd_ticket_ui .Inside that file a div sd_flow_items_find is there.I am using modal windows in this form (http://livepipe.net/projects/control_modal/).For creating this modal window i am using a div inside this div named search_sd_ticket_description<%= i %> And a form_tag is there .My problem the div get replaced but any way the code inside the form is not working the second time..I am attaching the two files for clarification. I have made the comments inside the files

Please help Thanks in advance Sijo

Attachments: http://www.ruby-forum.com/attachment/1846/New.tar.gz

Make sure you're not accidentally replacing the <div> </div> tags themselves.