         self.applyResult(message: message, textField: self.findResultField!, textView: self.findTextView!)
         
         // dismiss result either client text or find string did change
+        self.removeCurrentTargetObservers()
         self.currentResultMessageTarget = target.layoutManager
         NotificationCenter.default.addObserver(self, selector: #selector(clearNumberOfFound), name: NSTextStorage.didProcessEditingNotification, object: target.textStorage)
         NotificationCenter.default.addObserver(self, selector: #selector(clearNumberOfFound), name: NSWindow.willCloseNotification, object: target.window)

        textView.enclosingScrollView?.contentView.contentInsets.right = textField.frame.width
    }
    
}

        self.applyResult(message: nil, textField: self.findResultField!, textView: self.findTextView!)
        
        // -> specify the object to remove osberver to avoid removing the windowWillClose notification (via delegate) from find panel itself.
        self.removeCurrentTargetObservers()
    }
    
    
