Move date range selector popup declaration