[processing] show confirmation when closing modeler with unsaved model
(fix #9889)