window activ window event handl open 