listen to current window