close deleted files and folders
update window when the file is moved