add callback to set modifier_id