Patching dialogs