[processing] don't close dialog if execution fails (fix #9893)