Fixed path for template files. Should fix the bug with popups.