Don't connect popup palette slot to non-existent signal
Right clicks to trigger palatte hide just propagate to the palette, same could be done for the old triangle selector most likely.