Fixed addDream and editDream to validate properly.