call parent functions from child window