add Origin null is not allowed by Access-Control-Allow-Origin solution to modal.html