Added configurable callback functions to expression editor element