it wasn't so much that the delate record behavior is not working but code order.
the recordset was populated on the page first, then the delate behavior came after it. this meant that the result was created before the record was deleted. If you refreshed the page, you would've seen that the record no longer existed.
i moved the code for the delate behavior so that it came before the recordset so that the delete would happen first.