History graph appended to modal on show