Could [self windowWillClose] be factored outside of the if statement, given it happens first on either condition?