improved popup menu