Code example for Dialog

Methods: findViewById, getWindow, setCancelable, setContentView