TMDM-7721: Fixed the following
1. Fixed the cell editor loses focus when xpath dialog is active in Mac system
2. Fixed the cell editor can't lose focus when user click area outside tableviewer