Fixes #1877. This corrects Wizard stepclicked call.
I've also seen a lot of calls to steps container in the code:
It could also lead to wrong behavior depending on content.
It's better to hold it as a property of Wizard object. May I include such change in this PR?
(GH1877) proper selector for handling wizard's event
(GH1877) add unit test to check for correct wizard behavior