Hi Cap,

At a quick glance try removing the saveChat_btn.onRelease = function .... outside of the mouseUp function, they probably cross one another.

probably best with the exit button too