#95526Fixed saveAndClose Issue
Description
Unset `$parameters` after creating the uri, otherwise `$parameters` will keep the settings for all previous elements with `saveAndClose` set to `1`, resulting in every previously registered element getting added to the page.
This issue was automatically created from https://github.com/TYPO3/typo3/pull/328