StateRestore: Renaming a state does not update it's name in 'rename' dialog
StateRestore: Renaming a state does not update it's name in 'rename' dialog

Link to test case:
https://datatables.net/extensions/staterestore/examples/initialisation/simple.html
Description of problem:
1. Create a state (e.g. 'State 1')
2. Rename the state (e.g. 'State 2')
3. Open rename dialog for 'State 2' and verify label
Expected:
Actual:
Full gif: