Improve the auto-completion dialog.