Created an SDK example showing dynamic dialogs with persistent data

It might be worth reviewing the code to see if it makes sense and shows best practices, but it addresses some common dialog issues.