adds dialogs and notifications