Nice to clarify in the comment that this is for test automation purposes. E.g.: `// do not show dialog if test run was started by the run all buttons; used in test automation scenarios.`