changed the way multiple dialogfragments of the same class are handled