Updating views for dialogs