Moved common dialogs to index.html