Unsaved changes detection and confirmation in PipelineEdit and Settings, regarding #340.