Successfully saves dialog box