Added a basic dialog class for text and buttons.