got the 'templates dir' button working