def _new_dialog_config(cls, *args, **kwargs): data = Resource._new_dialog_config(*args, **kwargs) data['fileUpload'] = True print data return data