Removed duplicate listeners to done and cancel buttons which caused duplicate entries to be added
Created test class AddEntryDialogTest

GCP-10357

Reviewer: Daniel Villafuerte
Resolve Sonar violations:
1. Remove throwing of runtime exception (InternationalizationException)
2. Use Collection.isEmpty() instead of List.size()
3. Moved inline comment
4. Remove unused code

GCP-10357

Reviewer: Daniel Villafuerte