How to create dynamic add and remove button functionality to repeat a field,(something similar to the image))