Fix: InvalidOperationException when closing an AsynchronousWaitDialog after a long-lasting renaming operation.