add a confirmation before deleteting a resource