completed the new style of history modal-dialog