def showHelpPopup(open_click, close_click):
    """ Display and hide the help popup depending on the clicked button. Code is
    based on https://community.plot.ly/t/any-way-to-create-an-instructions-popout/18828/3
    by mbkupfer
    
    Positional arguments:
    open_click -- Open the popup
    close_click -- Close the popup
    """
    if open_click > close_click:
        return {"display": "block"}
    else:
        return {"display": "none"}