protected static function getMode($args, $node)
 {
     // reload the page after initial save - show parent sample so we can enter the transect data.
     if (!empty($_GET['id']) && !empty($_GET['table']) && $_GET['table'] === 'sample') {
         $_GET['sample_id'] = $_GET['id'];
     }
     return parent::getMode($args, $node);
 }