updated times so the time on the dialogs are correctly saved