Adds a button and dialog for choosing the time as well as the date