creating edition link with an object attached to its function with the current element values