created a new html file called center_dialog.html

in this file includes div center pure js codes