added content module deletion within a transaction within the content_modules controller [Finishes: #74259348]