Add error/success dialogues.