Code example for AlertDialog

Methods: findViewById, setOnDismissListener