add close-button for History UI. ref #306