added dialog handler