Add exit signal to exit button.