fix passing data from dialog to fragment issue