Add a confimation dialog on back button press.