Form_remote_tag :confirm tag

<% form_remote_tag(
:url => { :action => ‘add_items’, :id => @vtl.id},
:html => {:id => ‘add_items_form’},
:confirm => “Are you sure stuff” ) do %>

That is the generic form_remote_tag that i have used so far.

But, in one case, I have to conditional pop up the confirm dialog. If
a, use this form and pop-up the dialog and if b, use this form without
the dialog. How can I do that without using a if-else statement? I do
not want to duplicate the same code one with the :confirm case and the
other without.

Any ideas?