Prevent closing of other windows in 'N' mode