fixed a bug that Output Dialog's [Cancel] button failed to initialize parameter values