updatd date popups to use html generator