- count($_SESSION['Context']) ? true : 'default');
- submit_return('select', _("Return"), _("Select this items and return to document entry."), 'default');
+ @$_REQUEST['popup'] ? true : 'default');
+ submit_return('select', get_post('stock_id'),
+ _("Select this items and return to document entry."), 'default');
+ submit('clone', _("Clone This Item"), true, '', true);