finished to make basic dialog fundation