Overlapped window is a window that was expected during test, but it can overlap another elements and make unable interacting with them.
Unexpected window is a window that was not expected during the test run (e.g. system alerts, errors or other dialogs).
Check your project's playback properties:
Does Test Complete logs an error under this condition? If so we have an OnLogError event and we can write the event handler for addressing the modal dialog insiide the event handler function for .OnLogError
the error may occur any time....almost there are 1000 methods, i can't keep this in every method...So is there any other solution for this?