Added activities to order rows
Updated delete dialog management