Index: trunk/core/kernel/application.php =================================================================== diff -u -r3559 -r3650 --- trunk/core/kernel/application.php (.../application.php) (revision 3559) +++ trunk/core/kernel/application.php (.../application.php) (revision 3650) @@ -787,7 +787,7 @@ { if(!$t) $t = $this->GetVar('t'); // moved from kMainTagProcessor->T() - if ($this->GetVar('skip_last_template')) { + if ($this->GetVar('skip_last_template') && ($t != 'close_popup')) { $params['opener'] = 'p'; $this->SetVar('m_opener', 'p'); }