I have a nightstand drawer with no stops, so the drawer just comes out if I pull it too far. How do I fix it?

The drawer is very simple. There is just two grooves on either side of the drawer and they slide onto the grooves on the inside of the dresser.