removes coupling of save method in tab templates