Like we can do in classical dashboard we need to add sql script option in modern dashboard.
Yes I have many classical dashboards that use databases outside of orion. and the only way to get to them is via SQL.
So I can not use modern dashboards in many cases.