Ask a confirmation before removing files and resources

A confirmation popup asking the user to confirm the deletion of files and resources.