finish view diaries in two modes