success to load modal dom dynamically, but fail to load css and js files dynamically.