started working on dialog box.