Code example for AlertDialog

Methods: dismiss, isShowing