Fix a few things in DialogBox