Added a preview dialog with the possibility to rate and label images