Deleting multiple rows - nesting

I have a similar scenario where I Set Column values in a couple of tables through relations. Those actions are among others that need to run regardless if the relations are empty or not. If those relations are empty, the entire button disappears.