fix for local modal.html to work

fix for local modal.html