Added keyboard shortcuts for 'new entry' and 'new category' and made dialogs singletons.