add window handle to content click events