Add entry editor dialog and fix reading;