Added code so that picture and title clear when modal close buttons are pressed