fixes title and date for modals