integrate dialog window