added option to close all nodes that were autmatically opened to reveal a search result, when the search is cleared