add confirmation to delete file/directory