activity reference removed from dialog fragment