Dynamicaclly update Days/Weeks in the dialog form.