Bug fixes to output & date added to modal.