implemented basic dialog actions