processing dialog fragment