Manage tags: Close window on Escape or clicking anywhere when nothing is in focus - fixed