Interface ActionType.OnModal2<A,​B>