human
Complete this python program:
def _search_dialog(parent):
assistant
#Here is the Python code you requested.

    """Display search test box.
    """
    from tkinter import Toplevel, Text
    from tkinter.ttk import Button
    box = Toplevel(parent)
    box.title('Test    SearchDialog')
    (x, y) = map(int, parent.geometry().split('+')[1:])
    box.geometry(('+%d+%d' % (x, (y + 175))))
    text = Text(box, inactiveselectbackground='gray')
    text.pack()
    text.insert('insert', ('This    is    a    sample    string.\n' * 5))
    def show_find():
        text.tag_add('sel', '1.0', 'end')
        _setup(text).open(text)
        text.tag_remove('sel', '1.0', 'end')
    button = Button(box, text='Search    (selection    ignored)', command=show_find)
    button.pack()