Added dynamic input boxes for tag editing