Allow closing the note panel during note editing. There seem to be no
problems if one uses it during editing the node core as the current
editor state is saved.