added the ability to remove photos