The stopper comes out of the sink when the dishwasher drains because there is a gap between where it attaches to the garbage disposal and drain pipe. You can fix this by shortening or extending your flange, but if that doesn’t work, you will need to buy a new one from any hardware store.