fixed not working example code for modals
Merge pull request #7798 from mediafreakch/3.0.0-wip

fixed not working example code for modals