Build a realtime spreadsheets application - Part 4: Automatically cleaning up empty documents