added close icon instead of close text "x"
exit confirm dialog moved outside windowClosing
set tool tip to wordPanel in refresh method