Modify the UIElement using a specified modifier function.
this
callback function that returns the UIElement modifier's in order to be able to edit the modifier of the UIElement.