fixed StageDialogTest