We get the `deleteResource()` method called twice: 1. when we mark the resource as to be deleted 2. when the actual delete event is dispatched by the api