Added dialog for adding/editing entries