Don’t worry about displaying the dialog at all, that’s not what this challenge is about. Instead, think of it this way:
Pretend there’s a function filter(string) that’s being called with your input, and returning some value. The string parameter will be what you type into the box, and the return value from filter has to be exactly “”. Given that, figure out exactly how the filter function handles . Once you understand that, there are lots of ways to get the filter function to return the right string.