re-writing of traydvm popup menu and actions