Added BaseDialog