toggle visibility when adding new row