Local website won’t open in modal

Depends on the browser. It’s generally not recommended as it’s usually a blanket setting that effects all resources that you can load.

In Chrome, you can adjust the Mixed Content Settings to allow insecure content.

Similarly, in Fully Kiosk Browser you can adjust the Settings → Advanced Web Settings → Mixed Content Mode = Always Allow