Fix various dialogs issues
In general settings, the naming dialog for default category/group/note:
- Close on 'Cancel'
- Display the correct default name based on the selected field
Printing dialog:
- Close on 'Cancel'
Font Picker Dialog:
- Prevent font privew from overflowing (the layout is less pretty but also less buggy)