Search dialog implementation