ConfirmWindow bug fixed