Added confirmation dialog when deleting files