Close after the records has been marked by the DeleteFlag (DetailView)