BZ-12884 added callback for cancel action