- made the preivew dialog box