Raj, it's a bit unclear what you are trying to explain here.
1: it is not adviseable to open the door while the dishwasher is in the middle of doing something.
2: trying to fill in the blanks in your post it sounds like you could have a leak that has activated the flood protection device.
Mike
October 2009