Begin code for tracking changes in a dialog.