Storing last filter and showing it again if no node is selected. Allowing empty filter text. Doing nothing if the filter has not changed since last time.