What is the normal way to handle events when a GUI becomes modal, for instance because a modal dialog appears? This can happen while the user is clicking, dragging, resizing or whatever.
How should the events be terminated or aborted? For instance, if the user is dragging something when the modal dialog appears, there will be no mouse up event because the GUI has gone modal. Only the modal dialog receives events. So his cursor will show a resizing sprite forever.