Fixed scope collision (form/header/model.php)

Fixed scope collision between variables `$key` and `$value`.