reset param to previous value if new value is a problem.
Show dialog rather than stop on exception