compose exit button