Contextual palette should close by clicking on the X at the end of the toolbar => K.O. no X at the end.