WIP: Implement search dialog.