rose edit: fix add section bugs

This fixes 2 bugs:

1) Change configuration name in the add section dialog
2) non-defined <var>i</var> variable in the loader.py code.