open templates directory from gui working