Close dialog when delete in tree list