title: Do dialogs prevent rest of code from executing?
body: <p>I have an activity that shows a message custom dialog class (which inherits from Dialog) alerting the user if there has been a timeout or power loss on the device.  The activity also makes calls to the alarm manager to schedule tasks.  </p>
  
  <p>If the dialog is showing, does it prevent the alarm manager from sending broadcasts?  I looked at <a href="https://stackoverflow.com/questions/26264960/is-a-dialog-asynchronous-on-android">this answer</a>, and I am still not sure.  The official Google documentation says that a dialog retains focus and can interrupt the rest of the code.  I also have a couple of handlers running on this activity, too.  Does the appearance of a dialog stop the execution of them?</p>