Check closeButtonPressed for NC