modify action mode callback