Copy dialog with search is basically working, just needs a few tweaks.