sweet-lib: fixed exception handling in wizard events