escape key closes AlertTextBox
Added error message.
Fixed line chart selection bug when there were missing coordinates.