dialog group swaps work correctly