I'm trying to build a form where when you click a button a new window opens. There we choose an item and send the item code back to the parent page to populate a text field. After this is done the new window should close automatically. You can see more details and the code I'm working with in my previous thread.