Not sure if there’s anything wrong there or not. Try moving the line:
<script src="dmxAppConnect/dmxBootstrap4Modal/dmxBootstrap4Modal.js" defer=""></script>
further down. Just one line at a time and see if it fixes it. Otherwise I think one of the Wappler team may be able to give more info.