make the root dir editable so the UI can be reused for multiple deletes; fix the deleted dir count statistics.