Added JqueryUI dialog for loading last chapter