insert modal connection error in each html page