changed "cancelButtonMouseEntered" to "MouseClicked"