Add the wait dialog