Added exit confirmation.