On tablets, close FileDetails if the file is deleted