Fix race condition reported in LT-15126

* If the dialog that the search was running for has been disposed
  then we shouldn't crash trying to update it.

Change-Id: I9c5035670464b3354f93cd0219db4d73481353e2