ThemeForest modal issue

Hello all,

I have an issue with the bootstrap4 modal in themeforest. When I use the form-wizard, so you need to go though several ‘tabs’, and go to the 3th step, and then close the modal, and then reopen the modal, it opens the modal on exact that step, instead of going to the first ‘page’.
Anyone an idea how I can go to the first step every time I open the modal ?

Many thanks