Confirmation Dialogue box now appears when user attempts exit.