handle cancel on image picker