Add close/cancel callback examples