Pops up this view as a new dialog.  If the forceDialog flag is set to \
        False, then it will try to activate the first instance of the view \
        within an existing viewwidget context before creating a new dialog.
        
        :param      parent      | <QWidget> || None
                    viewWidget  | <projexui.widgets.xviewwidget.XViewWidget> || None

def popup(cls, parent=None, viewWidget=None):
        """
        Pops up this view as a new dialog.  If the forceDialog flag is set to \
        False, then it will try to activate the first instance of the view \
        within an existing viewwidget context before creating a new dialog.
        
        :param      parent      | <QWidget> || None
                    viewWidget  | <projexui.widgets.xviewwidget.XViewWidget> || None
        """
        if cls.isViewSingleton():
            inst = cls.createInstance(parent, viewWidget)
            inst.setWindowFlags(Qt.Dialog)
        else:
            inst = cls.popupInstance(parent, viewWidget)
        
        inst.showNormal()
        inst.setFocus()
        inst.raise_()
        inst.activateWindow()