Added an optional method to the protocol that is called when the imageview is dismissed
merge conflicit fixed from merging in donedelegate