reset the button clicked value when ESC key is pressed just the way it is done when the x (close) icon is clicked