moved dialog creation into a function
implemented pipeline renaming
refined pipeline renaming
implemented cloning