Same comment here.  I think we should replace the existing `hideOverlay()` call one line 505 with the `resetWait()` call.