We have the same Run behavior UI for all queries, but Automatic is always disabled for Javascript queries because they can trigger other queries and events.
You may need this relatively hacky workaround to solve your use case: Trigger a module query from the parent app