Added delete confirmation to the Tempalte Delete functionaly;