hook up settings, and allow cancelling