Harmonizing app closing

See redmine bug https://med.inria.fr/redmine/issues/1229

This improves closing in several ways :

- always opens the dialog box if unsaved data exists for every quit configuration
- remove the yes or no message at the bottom right
- corrects a bug that was also showing studies and patients in the save dialog