Check for running scripts or automations before restart

The “restart” dialog warns that this will interrupt any running scripts or automations. The FR is for it to check if there are any running and either say “(none detected)” or say what they are and have the option to wait until they finish.