Add history tab to contract edit dialog