Closes #58, #59. Dialogs should respect each other now.