Generalised cascade changes and preview dialog code