1. Fixing css bug and 2. Marking records as dirty if they have been edited even once