Popup: updated openPrerequisitesComplete method. TESTS PASS.

Fixes gh-7533