For anyone wondering how to force Ubuntu to "Do Nothing" when closing the lid of a laptop.
The option does not exist in Power Management Preferences.
So...
In a terminal (Applications-->Accessories-->Terminal), type: gconf-editor
Navigate to apps-->gnome-power-manager-->buttons and set lid_ac and/or lid_battery to "nothing" (without the quotes).