mid disable modal