>"; return $script; } public function render_modals() { if (self::$modals_rendered) { return ''; } self::$modals_rendered = true; $modalHTML = '