There are a few reasons why your dishwasher may not close. One reason could be that the door is not closing all the way. Make sure that the door is aligned properly and that there is nothing obstructing it from closing. If the door is closed properly and the dishwasher is still not draining or washing dishes, then there may be a problem with the dishwasher itself. Contact a technician to troubleshoot the issue.