added exit button and handler, removed back/next buttons