ModalDialog already extends WidgetBase and TemplateMixin so you don't need to extend them