A dishwasher only has cold water. You can isolated the machine without turning off your water with the mini stop valve. You can use a standpipe with a P-trap to connect the waste hose to the washing machine trap.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.