add data context for event handlers as last arg