PropertiesFragment: Prevent legend dialog from showing itself multiple times at once