improvements for index page

Use modal instead of dialog