Name the static query and click OK

OR

Unmark the Create a query checkbox when committing the batch.