Fixed: Sometimes popups don't disappear bug

- context menu is now attached rather than just created on demand
Added 'addtoprevious' and 'changetask'