programmatically trigger unwind segue on save only if image exists