add diagnostic page and modal