Pull modal cover and date utils into their own files.