[TIMOB-10380] Added check to make sure there is an active window on update