popup close added in common.js