It is not the only way, but yeah that's fine.
Usually I do `$(e.target).closest(selector)` again, since `data.el` could be overridden by other stuff in the payload