Added Dialog class to hold the dialog views. Wired the repeating functionality between Alarm and AlarmCard.