dialog work

added dialog service and dialog work