Darken/lighten content background color when editor is opening/closing.
Execute editor about to close callbacks when editor is clicked to close. Run save function only in about to close callbacks in NoteEditorController and TaskEditorController.