Hit undo, right after you save, to go back to the un-flattened version.
If you want to save it with the layers separate, you need to save as a .pdn file.
PDN files don't display in most viewers, like a web browser, so you usually want to save two versions, a PDN for future modification, and a GIF or JPG for uploading to the web.