Modal written in VanillaJS