I am trying to pass data from the main window of an electron application to a new window, which is opened as a result of a user action, but I can\'t seem to get the interpro