Bind window is_open, open and close methods