Sometimes it happens really fast that you accidentally delete something that wasn't supposed to get deleted. The messages that you need to confirm are ok- however, I would wish to maybe have a different color of that message box. Alert fatigue is a rather big issue, I would say, and accidentally deleting a database without having the option to undo the action (maybe also for folders) requires a different alert type.
Another option would be, which would even be my preferred one: to allow undo also for these actions.