added basic dialog