new: feature "Lock tab" - asks user before closing the tab.
improvement: in popup menu handling