I believe the membrane is selectively permeable to K+ and not Na+ ions. This will allow K+ ions to escape, making the inside of the cell less positive. This explains why the resting potential of the cell is a negative value (Of course, this negative value also has to do with the presence of negatively charged molecules such as proteins within the cell).