Removed all secondary_dialogs in editor, substituted with autocomplete, cleaned up secondary dialog code.