#82: Optimize code in SCAYT during dialog definition with several instances