Code example for AlertDialog

Methods: getButton, onRestoreInstanceState