Images button

Move popup logic to popup.js
Use :leaving and :approaching events instead of single method call
Add re-popup images button

Probably need a review on the js part.