Yes, in theory it ought to warn you in advance. However, there are instances where the event-driven computations can push it over the top unexpectedly (since the event stream cannot be known in advance).
Will try to make those gallery Sounds more conservative so that is less likely to happen. Thanks for telling us about it!