simple method to create dynamic forms embedded in bootstrap modals