added dialog window