Last change broke the CoreDialog close button. Woopsiedoodle.