Update popup.js

Fix "Are you sure?" dialog slash and dispeared problem.