added time dialog and reciever