added config save on submit of forms