Changed the buttons of the template change window to jquery window buttons