showing entries and adding entries from dialog