when deleting / reverting image
when server raises exception display modal with error description