Remember dirty files after a search
Indicate dirty files in the check command