Changed it so that the chooser hides on thumbnail click