`dialog` semantic optimization