fix a program crash when adding new action to a target while the target is running actions