Fix bug of No.5: can not to display dialog.