Your modal div have to be outside of the wizard because themes are using position: relative and modal window doesn't show properly inside the wizard. But of course you still can have a trigger of your modal inside the wizard.
$(document).ready(function () { $("#wizard_example").stepFormWizard(); })