@classmethod
def create_dialog(cls, title, body):
    """
        Creates a dialog from given title and body.
        Adds it to the dialogs track list.
        Appends dismiss action.
        """
    dialog = cls.create_dialog_helper(title, body)
    dialog.add_action_button('Dismiss', action=lambda *x: dialog.dismiss())
    return dialog
