close the buttons