Sleep mode

Hi All,

So Im using the idea and code from the following link.

http://www.arduino.cc/playground/Learning/ArduinoSleepCode

My problem is that I want to hook this to a push button switch. That is when you press the button the thing goes to sleep. Any ideas on how to connect the switch to make it work with the code. Ive tried, but it doesnt seem to work!

Also how do you know when it enters sleep mode besides the LED? Is there a way to check?

Cheers Avi