dired-clean-up-buffers-too

dired-clean-up-buffers-too is a variable defined in `dired-x.el'.
Its value is
t


Documentation:
Non-nil means offer to kill buffers visiting files and dirs deleted in Dired.

You can customize this variable.