Just think about your input resources... like your keyboard. Since the button is the "X" button... join these two things and you'll get the solution. ;)