add dialog window with date