Replicate AddToTargetList to custom module

Hello to everybody,
i have 2 custom modules(Computers and ComputerTargets) which have many2many relationship.

I’ve created a custom action on Computer module in order to show ComputerTarget popup and relate computer items to selected ComputerTargets.

Please see attached screenshot.

This is my extended listview:

<?php if (!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); require_once('include/MVC/View/views/view.list.php'); class sugo_ComputersViewList extends ViewList { /** * @see ViewList::preDisplay() */ public function preDisplay() { parent::preDisplay(); $this->lv->actionsMenuExtraItems[] = $this->addMenuItem1(); } /** * @return string HTML */ protected function addMenuItem1() { global $app_strings; return <<<EOHTML Add to Target EOHTML; } } The popup action works fine however when a sugo_Targets item is selected in the popupview nothing is being related in the database. No errors is displayed both on page and suitecrn.log. Am i missing anything? And....after that i would replicate the function in ProspectList popup where it is possible to create a target list directly from popupview and then automatically relate selected items with newly created Target. I looked at ProspectList module however there's so much files compared to other modules so it is quite difficult to find a starting point. Does anyone can help me on that and suggest me the right way? Thanks for any hint. Best Regards