added logic to load a default note template on editor load