AUI-1780 Fix bug with button for adding rows adding multiple rows on each click