validate windows minimization