abstracted frontend note insertion, abilty to add note if focused note has no children