fixed image picker bug not closing on cancel