you should change the sentence to make it a question imo when wanting to add a ?
"Confirm directory deletion?"  or "Delete entire directory?" or something in that line.