@staticmethod
def _createDialog(parent):
    """Create the dialog if not already existing

        :parent QWidget parent: Parent of the new colormap
        :rtype: ColormapDialog
        """
    from silx.gui.dialog.ColormapDialog import ColormapDialog
    dialog = ColormapDialog(parent=parent)
    dialog.setModal(False)
    return dialog
