def METHOD_NAME(self, request, *args, **kwargs):
    try:
        new_export_instance = self.new_export_instance
        if (
            isinstance(new_export_instance, CaseExportInstance)
            and new_export_instance.case_type == ALL_CASE_TYPE_EXPORT
        ):
            trigger_update_case_instance_tables_task(request.domain, new_export_instance._id)
    except ResourceNotFound:
        new_export_instance = None
    if (
        new_export_instance
        and not new_export_instance.can_edit(request.couch_user)
    ):
        raise Http404
    return super(BaseEditNewCustomExportView, self).METHOD_NAME(request, *args, **kwargs)