added alert dialog for date picker