fixing small bug where selection popup wasn't happening until you choose a layer