Abstracting out 3 button dialog.