chiku | #1519 | Don't display close button if they don't have an associated graph
chiku | #1519 | Function name reflects intent