Add in dojo dialog for index