Added a dialog box, began adding necessary components