prevent delete dialog when searching source document name