 modals = {}
 waits = {}
+
+copySelectedOptions = (from, to) ->
+  $(from).find('select option:selected').each ->
+    selectTag = $(this).parents('select')[0]
+    $(to).find("select[name='#{$(selectTag).attr('name')}']").find("option[value='#{$(this).val()}']").attr("selected", "selected")
 
 $ ->  
 

            section = $(this.el).find('.bbm-modal__section').clone()
            $(form).append(section)

            # display changes when submitting
            $(this.el).modal('setDisplay', 'submitting')



            @nextStep(null, clone: true)
            $(this.el).modal('setDisplay', 'submitting')

            form.submit()
            return false # to block disappearance

