Modify: Update name of the editor tab and add error dialog when generating output failed