added null in NewStringDialogTest