Made fixes for code review and added a new feature jquery dialog box.