If germplasm import called from pop-up, put back previous logic (before redesign) that called javascript to close the window

Issue: GCP-9724

Reviewer: Dan J (post-commit)