Paragraph sequence update implemented with JQuery UI dialog box which is much faster