I can't understand that. Here's a couple of screen shots using the code I posted. First one is with a nick selected, 2nd is without



As you should be able to see, the OK button is available in the first picture, however, it's greyed in the second.