Code example for Dialog

Methods: cancel