Update page.js

dialog added