This subframe calls "self.close()" as it's very first action.
That self.close() call should not close the window.