Show notification only when editor has focus