Javascript form inside bootstrap modal not updating for Table form bootstrap