fixing the workflow save and load issues to the registry and the ui dialogs