Add a 'Loading...' modal for query stacks