Clicking submit saves record to firebase and appends html to table, but clicking submit again causes duplicates in a 1,3,5,7.. pattern.