dialog in index.html, needs to work on it more -kk