// when the user clicks mouse outside it or if it loses focus in any other way
// ----------------------------------------------------------------------------
// when the user clicks mouse outside it or if it loses focus in any other way
// ----------------------------------------------------------------------------