Implemented child window functionality