adding modal to one diagonal check