Make the dialog running state work properly as a semaphore.

Add a message displayed call.