Clear dns nick on ok or cancel