Code example for Dialog

Methods: dismiss, isShowing