<?= $this->extend('layouts/form.php') ?>

<?= $this->section('content') ?>
<p>Data Updated</p>
<p>Please close this window...</p>
<?= $this->endSection() ?>

<?= $this->section('script') ?>
<script>
//window.onfocus = function () { setTimeout(function () { window.close(); }, 1000); }
</script>
<?= $this->endSection() ?>