example dialog box for text search