open() will return the popup affected object now
changed test to fit with new return type from open()