Revert "DocumentsUI: fix recursive delete"

This reverts commit b1e9adb1299fc866c58a32d8e8635f3d2bed83cf.