dialog logic integration